7
7
/// <reference path="../jquery/jquery.d.ts"/>
8
8
9
9
// http://foundation.zurb.com/docs/components/abide.html#optional-javascript-configuration
10
- interface AbidePatterns {
10
+ interface FoundationAbidePatterns {
11
11
alpha ? : RegExp ;
12
12
alpha_numeric ? : RegExp ;
13
13
integer ? : RegExp ;
@@ -25,18 +25,18 @@ interface AbidePatterns {
25
25
color ? : RegExp ;
26
26
}
27
27
28
- interface AbideOptions {
28
+ interface FoundationAbideOptions {
29
29
live_validate ? : boolean ;
30
30
validate_on_blur ? : boolean ;
31
31
focus_on_invalid ? : boolean ;
32
32
error_labels ? : boolean ;
33
33
timeout ? : number ;
34
- patterns ? : AbidePatterns ;
34
+ patterns ? : FoundationAbidePatterns ;
35
35
validators ? : Object ;
36
36
}
37
37
38
38
// http://foundation.zurb.com/docs/components/accordion.html#optional-javascript-configuration
39
- interface AccordionOptions {
39
+ interface FoundationAccordionOptions {
40
40
content_class ? : string ;
41
41
active_class ? : string ;
42
42
multi_expand ? : boolean ;
@@ -45,12 +45,12 @@ interface AccordionOptions {
45
45
}
46
46
47
47
// http://foundation.zurb.com/docs/components/alert_boxes.html
48
- interface AlertOptions {
48
+ interface FoundationAlertOptions {
49
49
callback ? : ( ) => any ;
50
50
}
51
51
52
52
// http://foundation.zurb.com/docs/components/clearing.html#optional-javascript-configuration
53
- interface ClearingOptions {
53
+ interface FoundationClearingOptions {
54
54
templates ? : Object ;
55
55
close_selectors ? : string ;
56
56
open_selectors ? : string ;
@@ -61,7 +61,7 @@ interface ClearingOptions {
61
61
}
62
62
63
63
// http://foundation.zurb.com/docs/components/dropdown.html#optional-javascript-configuration
64
- interface DropdownOptions {
64
+ interface FoundationDropdownOptions {
65
65
active_class ? : string ;
66
66
disabled_class ? : string ;
67
67
mega_class ? : string ;
@@ -73,20 +73,20 @@ interface DropdownOptions {
73
73
}
74
74
75
75
// http://foundation.zurb.com/docs/components/equalizer.html#optional-javascript-configuration
76
- interface EqualizerOptions {
76
+ interface FoundationEqualizerOptions {
77
77
use_tallest ? : boolean ;
78
78
equalize_on_stack ? : boolean ;
79
79
}
80
80
81
81
// http://foundation.zurb.com/docs/components/interchange.html#custom-named-queries
82
- interface InterchangeOptions {
82
+ interface FoundationInterchangeOptions {
83
83
load_attr ? : string ;
84
84
named_queries ? : Object ;
85
85
directives ? : Object ;
86
86
}
87
87
88
88
// http://foundation.zurb.com/docs/components/joyride.html#optional-javascript-configuration
89
- interface JoyrideOptions {
89
+ interface FoundationJoyrideOptions {
90
90
expose ? : boolean ;
91
91
modal ? : boolean ;
92
92
keyboard ? : boolean ;
@@ -133,7 +133,7 @@ interface JoyrideOptions {
133
133
}
134
134
135
135
// http://foundation.zurb.com/docs/components/magellan.html#js
136
- interface MagellanOptions {
136
+ interface FoundationMagellanOptions {
137
137
active_class ? : string ;
138
138
threshold ? : number ;
139
139
destination_threshold ? : number ;
@@ -145,13 +145,13 @@ interface MagellanOptions {
145
145
}
146
146
147
147
// http://foundation.zurb.com/docs/components/offcanvas.html#optional-javascript-configuration
148
- interface OffCanvasOptions {
148
+ interface FoundationOffCanvasOptions {
149
149
open_method ? : string ;
150
150
close_on_click ? : boolean ;
151
151
}
152
152
153
153
// http://foundation.zurb.com/docs/components/orbit.html#advanced
154
- interface OrbitOptions {
154
+ interface FoundationOrbitOptions {
155
155
animation ? : string ;
156
156
timer_speed ? : number ;
157
157
pause_on_hover ? : boolean ;
@@ -188,13 +188,13 @@ interface OrbitOptions {
188
188
}
189
189
190
190
// http://foundation.zurb.com/docs/components/reveal.html
191
- interface RevealCSSOptions {
191
+ interface FoundationRevealCSSOptions {
192
192
opacity ? : number ;
193
193
visibility ? : string ;
194
194
display ? : string ;
195
195
}
196
196
197
- interface RevealOptions {
197
+ interface FoundationRevealOptions {
198
198
animation ? : string ;
199
199
animation_speed ? : number ;
200
200
close_on_background_click ? : boolean ;
@@ -209,13 +209,13 @@ interface RevealOptions {
209
209
closed ? : ( ) => any ;
210
210
bg ? : JQuery ;
211
211
css ? : {
212
- open ? : RevealCSSOptions ;
213
- close ? : RevealCSSOptions ;
212
+ open ? : FoundationRevealCSSOptions ;
213
+ close ? : FoundationRevealCSSOptions ;
214
214
} ;
215
215
}
216
216
217
217
// http://foundation.zurb.com/docs/components/range_slider.html
218
- interface SliderOptions {
218
+ interface FoundationSliderOptions {
219
219
start ? : number ;
220
220
end ? : number ;
221
221
step ? : number ;
@@ -227,15 +227,15 @@ interface SliderOptions {
227
227
}
228
228
229
229
// http://foundation.zurb.com/docs/components/tabs.html
230
- interface TabOptions {
230
+ interface FoundationTabOptions {
231
231
active_class ? : string ;
232
232
callback ? : ( ) => any ;
233
233
deep_linking ? : boolean ;
234
234
scroll_to_content ? : boolean ;
235
235
is_hover ? : boolean ;
236
236
}
237
237
238
- interface TooltipOptions {
238
+ interface FoundationTooltipOptions {
239
239
additional_inheritable_classes ? : string [ ] ;
240
240
tooltip_class ? : string ;
241
241
append_to ? : string ;
@@ -246,7 +246,7 @@ interface TooltipOptions {
246
246
tip_template ? : ( selector : string , content : string ) => string ;
247
247
}
248
248
249
- interface TopbarOptions {
249
+ interface FoundationTopbarOptions {
250
250
index ? : number ;
251
251
sticky_class ? : string ;
252
252
custom_back_text ? : boolean ;
@@ -258,22 +258,22 @@ interface TopbarOptions {
258
258
}
259
259
260
260
interface FoundationOptions {
261
- abide ? : AbideOptions ;
262
- accordion ? : AccordionOptions ;
263
- alert ? : AlertOptions ;
264
- clearing ? : ClearingOptions ;
265
- dropdown ? : DropdownOptions ;
266
- equalizer ? : EqualizerOptions ;
267
- interchange ? : InterchangeOptions ;
268
- joyride ? : JoyrideOptions ;
269
- magellan ? : MagellanOptions ;
270
- offcanvas ? : OffCanvasOptions ;
271
- orbit ? : OrbitOptions ;
272
- reveal ? : RevealOptions ;
273
- slider ? : SliderOptions ;
274
- tab ? : TabOptions ;
275
- tooltip ? : TooltipOptions ;
276
- topbar ? : TopbarOptions ;
261
+ abide ? : FoundationAbideOptions ;
262
+ accordion ? : FoundationAccordionOptions ;
263
+ alert ? : FoundationAlertOptions ;
264
+ clearing ? : FoundationClearingOptions ;
265
+ dropdown ? : FoundationDropdownOptions ;
266
+ equalizer ? : FoundationEqualizerOptions ;
267
+ interchange ? : FoundationInterchangeOptions ;
268
+ joyride ? : FoundationJoyrideOptions ;
269
+ magellan ? : FoundationMagellanOptions ;
270
+ offcanvas ? : FoundationOffCanvasOptions ;
271
+ orbit ? : FoundationOrbitOptions ;
272
+ reveal ? : FoundationRevealOptions ;
273
+ slider ? : FoundationSliderOptions ;
274
+ tab ? : FoundationTabOptions ;
275
+ tooltip ? : FoundationTooltipOptions ;
276
+ topbar ? : FoundationTopbarOptions ;
277
277
}
278
278
279
279
interface FoundationStatic {
0 commit comments