This repository has been archived by the owner on Jul 25, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdijit.form.select.d.ts
458 lines (421 loc) · 23.5 KB
/
dijit.form.select.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
/************************************************************************/
/* Define button widget */
/************************************************************************/
/// <reference path="dojo.d.ts"/>
/// <reference path="dijit.d.ts"/>
/// <reference path="dijit.form.d.ts"/>
/// <reference path="dojo.store.d.ts"/>
declare module dijit
{
module form
{
interface _SelectOption
{
label: string;
value?: string;
disabled?: boolean;
selected?: boolean;
}
class _FormSelectWidget extends _FormValueWidget
{
// dijit/form/_FormValueWidget
get(name: "baseClass"): string;
get(name: "class"): string;
get(name: "containerNode"): HTMLElement;
get(name: "dir"): string;
get(name: "domNode"): HTMLElement;
get(name: "focused"): boolean;
get(name: "id"): string;
get(name: "lang"): string;
get(name: "ownerDocument"): HTMLDocument;
get(name: "postMixInProperties"): string;
get(name: "srcNodeRef"): HTMLElement;
get(name: "style"): Dojo.StylesMap;
get(name: "title"): string;
get(name: "tooltip"): string;
get(name: "attachScope"): Object;
get(name: "searchContainerNode"): boolean;
get(name: "templatePath"): string;
get(name: "templateString"): string;
get(name: "active"): boolean;
get(name: "cssStateNodes"): { [attachPoint: string]: string; };
get(name: "hovering"): boolean;
get(name: "alt"): string;
get(name: "aria-label"): string;
get(name: "disabled"): boolean;
get(name: "intermediateChanges"): boolean;
get(name: "name"): string;
get(name: "scrollOnFocus"): boolean;
get(name: "tabIndex"): number;
get(name: "type"): string;
get(name: "value"): string;
get(name: "readOnly"): boolean;
set(name: "baseClass", value: string): void;
set(name: "class", value: string): void;
set(name: "containerNode", value: HTMLElement): void;
set(name: "dir", value: string): void;
set(name: "domNode", value: HTMLElement): void;
set(name: "focused", value: boolean): void;
set(name: "id", value: string): void;
set(name: "lang", value: string): void;
set(name: "ownerDocument", value: HTMLDocument): void;
set(name: "postMixInProperties", value: string): void;
set(name: "srcNodeRef", value: HTMLElement): void;
set(name: "style", value: Dojo.StylesMap): void;
set(name: "title", value: string): void;
set(name: "tooltip", value: string): void;
set(name: "attachScope", value: Object): void;
set(name: "searchContainerNode", value: boolean): void;
set(name: "templatePath", value: string): void;
set(name: "templateString", value: string): void;
set(name: "active", value: boolean): void;
set(name: "cssStateNodes", value: { [attachPoint: string]: string; }): void;
set(name: "hovering", value: boolean): void;
set(name: "alt", value: string): void;
set(name: "aria-label", value: string): void;
set(name: "disabled", value: boolean): void;
set(name: "intermediateChanges", value: boolean): void;
set(name: "name", value: string): void;
set(name: "scrollOnFocus", value: string): boolean;
set(name: "tabIndex", value: number): void;
set(name: "type", value: string): void;
set(name: "value", value: string): void;
set(name: "readOnly", value: boolean): void;
watch(prop: "baseClass", callback: Dojo.WatchCallback<string>): Dojo.WatchHandle;
watch(prop: "class", callback: Dojo.WatchCallback<string>): Dojo.WatchHandle;
watch(prop: "containerNode", callback: Dojo.WatchCallback<HTMLElement>): Dojo.WatchHandle;
watch(prop: "dir", callback: Dojo.WatchCallback<string>): Dojo.WatchHandle;
watch(prop: "domNode", callback: Dojo.WatchCallback<HTMLElement>): Dojo.WatchHandle;
watch(prop: "focused", callback: Dojo.WatchCallback<boolean>): Dojo.WatchHandle;
watch(prop: "id", callback: Dojo.WatchCallback<string>): Dojo.WatchHandle;
watch(prop: "lang", callback: Dojo.WatchCallback<string>): Dojo.WatchHandle;
watch(prop: "ownerDocument", callback: Dojo.WatchCallback<HTMLDocument>): Dojo.WatchHandle;
watch(prop: "postMixInProperties", callback: Dojo.WatchCallback<string>): Dojo.WatchHandle;
watch(prop: "srcNodeRef", callback: Dojo.WatchCallback<HTMLElement>): Dojo.WatchHandle;
watch(prop: "style", callback: Dojo.WatchCallback<Dojo.StylesMap>): Dojo.WatchHandle;
watch(prop: "title", callback: Dojo.WatchCallback<string>): Dojo.WatchHandle;
watch(prop: "tooltip", callback: Dojo.WatchCallback<string>): Dojo.WatchHandle;
watch(prop: "attachScope", callback: Dojo.WatchCallback<Object>): Dojo.WatchHandle;
watch(prop: "searchContainerNode", callback: Dojo.WatchCallback<boolean>): Dojo.WatchHandle;
watch(prop: "templatePath", callback: Dojo.WatchCallback<string>): Dojo.WatchHandle;
watch(prop: "templateString", callback: Dojo.WatchCallback<string>): Dojo.WatchHandle;
watch(prop: "active", callback: Dojo.WatchCallback<boolean>): Dojo.WatchHandle;
watch(prop: "cssStateNodes", callback: Dojo.WatchCallback<{ [attachPoint: string]: string; }>): Dojo.WatchHandle;
watch(prop: "hovering", callback: Dojo.WatchCallback<boolean>): Dojo.WatchHandle;
watch(prop: "alt", callback: Dojo.WatchCallback<string>): Dojo.WatchHandle;
watch(prop: "aria-label", callback: Dojo.WatchCallback<string>): Dojo.WatchHandle;
watch(prop: "disabled", callback: Dojo.WatchCallback<boolean>): Dojo.WatchHandle;
watch(prop: "intermediateChanges", callback: Dojo.WatchCallback<boolean>): Dojo.WatchHandle;
watch(prop: "name", callback: Dojo.WatchCallback<string>): Dojo.WatchHandle;
watch(prop: "scrollOnFocus", callback: Dojo.WatchCallback<boolean>): Dojo.WatchHandle;
watch(prop: "tabIndex", callback: Dojo.WatchCallback<number>): Dojo.WatchHandle;
watch(prop: "type", callback: Dojo.WatchCallback<string>): Dojo.WatchHandle;
watch(prop: "value", callback: Dojo.WatchCallback<string>): Dojo.WatchHandle;
watch(prop: "readOnly", callback: Dojo.WatchCallback<boolean>): Dojo.WatchHandle;
// dijit/form/_FormSelectMixin
get(name: "labelAttr"): string;
get(name: "loadChildrenOnOpen"): boolean;
get(name: "multiple"): boolean;
get(name: "onFetch"): Function;
get<T>(name: "onLoadDeferred"): dojo.Deferred<T>;
get(name: "options"): _SelectOption[];
get(name: "query"): any;
get(name: "queryOptions"): Dojo.Store.QueryOptions;
get(name: "sortByLabel"): boolean;
get<K>(name: "store"): Dojo.Store._Store<Object, K>;
set(name: "labelAttr", value: string): void;
set(name: "loadChildrenOnOpen", value: boolean): void;
set(name: "multiple", value: boolean): void;
set(name: "onFetch", value: Function): void;
set<T>(name: "onLoadDeferred", value: dojo.Deferred<T>): void;
set(name: "options", value: _SelectOption[]): void;
set(name: "query", value: any): void;
set(name: "queryOptions", value: Dojo.Store.QueryOptions): void;
set(name: "sortByLabel", value: boolean): void;
set<K>(name: "store", value: Dojo.Store._Store<Object, K>): void;
watch(prop: "labelAttr", callback: Dojo.WatchCallback<string>): Dojo.WatchHandle;
watch(prop: "loadChildrenOnOpen", callback: Dojo.WatchCallback<boolean>): Dojo.WatchHandle;
watch(prop: "multiple", callback: Dojo.WatchCallback<boolean>): Dojo.WatchHandle;
watch(prop: "onFetch", callback: Dojo.WatchCallback<Function>): Dojo.WatchHandle;
watch<T>(prop: "onLoadDeferred", callback: Dojo.WatchCallback<dojo.Deferred<T>>): Dojo.WatchHandle;
watch(prop: "options", callback: Dojo.WatchCallback<_SelectOption[]>): Dojo.WatchHandle;
watch(prop: "query", callback: Dojo.WatchCallback<any>): Dojo.WatchHandle;
watch(prop: "queryOptions", callback: Dojo.WatchCallback<Dojo.Store.QueryOptions>): Dojo.WatchHandle;
watch(prop: "sortByLabel", callback: Dojo.WatchCallback<boolean>): Dojo.WatchHandle;
watch<K>(prop: "store", callback: Dojo.WatchCallback<Dojo.Store._Store<Object, K>>): Dojo.WatchHandle;
// get/set/watch master signatures
get<T>(name: string): T;
set<T>(name: string, value: T, raiseChangeEvent?: boolean): void;
set(values: Dojo.PropertiesMap): void;
watch<T>(prop: string, callback: Dojo.WatchCallback<T>): Dojo.WatchHandle;
addOption(option: _SelectOption): void;
addOption(option: _SelectOption[]): void;
getOptions(value: string): _SelectOption;
getOptions(index: number): _SelectOption;
getOptions(value: { value: number; }): _SelectOption;
getOptions(option: _SelectOption): _SelectOption;
getOptions(values: string[]): _SelectOption[];
getOptions(indices: number[]): _SelectOption[];
getOptions(values: { value: number; }[]): _SelectOption;
getOptions(options: _SelectOption[]): _SelectOption[];
getOptions(options: any[]): _SelectOption[];
getOptions(): _SelectOption[];
removeOption(value: string): void;
removeOption(index: number): void;
removeOption(value: { value: number; }): void;
removeOption(option: _SelectOption): void;
removeOption(values: string[]): void;
removeOption(indices: number[]): void;
removeOption(values: { value: number; }[]): void;
removeOption(options: _SelectOption[]): void;
removeOption(options: any[]): void;
setStore<T extends Object, K>(store: Dojo.Store._Store<T, K>, selectedValue?: T, fetchArgs?: { query?: any; queryOptions?: Dojo.Store.QueryOptions; }): void;
updateOption(option: _SelectOption): void;
updateOption(options: _SelectOption[]): void;
// Events
on(type: "Blur", listener: Dojo.Action): Dojo.RemovableHandle;
on(type: "Change", listener: (newValue: any) => void): Dojo.RemovableHandle;
on(type: "Click", listener: Dojo.EventListener<MouseEvent>): Dojo.RemovableHandle;
on(type: "Close", listener: Dojo.Action): Dojo.RemovableHandle;
on(type: "DblClick", listener: Dojo.EventListener<MouseEvent>): Dojo.RemovableHandle;
on(type: "Focus", listener: Dojo.Action): Dojo.RemovableHandle;
on(type: "Hide", listener: Dojo.Action): Dojo.RemovableHandle;
on(type: "Input", listener: (ev: KeyboardEvent) => boolean): Dojo.RemovableHandle;
on(type: "KeyDown", listener: Dojo.EventListener<KeyboardEvent>): Dojo.RemovableHandle;
on(type: "KeyPress", listener: Dojo.EventListener<KeyboardEvent>): Dojo.RemovableHandle;
on(type: "KeyUp", listener: Dojo.EventListener<KeyboardEvent>): Dojo.RemovableHandle;
on(type: "MouseDown", listener: Dojo.EventListener<MouseEvent>): Dojo.RemovableHandle;
on(type: "MouseEnter", listener: Dojo.EventListener<MouseEvent>): Dojo.RemovableHandle;
on(type: "MouseLeave", listener: Dojo.EventListener<MouseEvent>): Dojo.RemovableHandle;
on(type: "MouseMove", listener: Dojo.EventListener<MouseEvent>): Dojo.RemovableHandle;
on(type: "MouseOut", listener: Dojo.EventListener<MouseEvent>): Dojo.RemovableHandle;
on(type: "MouseOver", listener: Dojo.EventListener<MouseEvent>): Dojo.RemovableHandle;
on(type: "MouseUp", listener: Dojo.EventListener<MouseEvent>): Dojo.RemovableHandle;
on(type: "Show", listener: Dojo.Action): Dojo.RemovableHandle;
on(type: "SetStore", listener: Dojo.Action): Dojo.RemovableHandle;
on(type: string, listener: Dojo.Action): Dojo.RemovableHandle;
on(type: string, listener: (ev: KeyboardEvent) => boolean): Dojo.RemovableHandle;
on(type: Dojo.ExtensionEvent, func: Dojo.Action): Dojo.RemovableHandle;
}
class Select extends _FormSelectWidget implements _HasDropDown, _KeyNavMixin
{
// dijit/form/_FormSelectWidget
get(name: "baseClass"): string;
get(name: "class"): string;
get(name: "containerNode"): HTMLElement;
get(name: "dir"): string;
get(name: "domNode"): HTMLElement;
get(name: "focused"): boolean;
get(name: "id"): string;
get(name: "lang"): string;
get(name: "ownerDocument"): HTMLDocument;
get(name: "postMixInProperties"): string;
get(name: "srcNodeRef"): HTMLElement;
get(name: "style"): Dojo.StylesMap;
get(name: "title"): string;
get(name: "tooltip"): string;
get(name: "attachScope"): Object;
get(name: "searchContainerNode"): boolean;
get(name: "templatePath"): string;
get(name: "templateString"): string;
get(name: "active"): boolean;
get(name: "cssStateNodes"): { [attachPoint: string]: string; };
get(name: "hovering"): boolean;
get(name: "alt"): string;
get(name: "aria-label"): string;
get(name: "disabled"): boolean;
get(name: "intermediateChanges"): boolean;
get(name: "name"): string;
get(name: "scrollOnFocus"): boolean;
get(name: "tabIndex"): number;
get(name: "type"): string;
get(name: "value"): string;
get(name: "readOnly"): boolean;
set(name: "baseClass", value: string): void;
set(name: "class", value: string): void;
set(name: "containerNode", value: HTMLElement): void;
set(name: "dir", value: string): void;
set(name: "domNode", value: HTMLElement): void;
set(name: "focused", value: boolean): void;
set(name: "id", value: string): void;
set(name: "lang", value: string): void;
set(name: "ownerDocument", value: HTMLDocument): void;
set(name: "postMixInProperties", value: string): void;
set(name: "srcNodeRef", value: HTMLElement): void;
set(name: "style", value: Dojo.StylesMap): void;
set(name: "title", value: string): void;
set(name: "tooltip", value: string): void;
set(name: "attachScope", value: Object): void;
set(name: "searchContainerNode", value: boolean): void;
set(name: "templatePath", value: string): void;
set(name: "templateString", value: string): void;
set(name: "active", value: boolean): void;
set(name: "cssStateNodes", value: { [attachPoint: string]: string; }): void;
set(name: "hovering", value: boolean): void;
set(name: "alt", value: string): void;
set(name: "aria-label", value: string): void;
set(name: "disabled", value: boolean): void;
set(name: "intermediateChanges", value: boolean): void;
set(name: "name", value: string): void;
set(name: "scrollOnFocus", value: string): boolean;
set(name: "tabIndex", value: number): void;
set(name: "type", value: string): void;
set(name: "value", value: string): void;
set(name: "readOnly", value: boolean): void;
watch(prop: "baseClass", callback: Dojo.WatchCallback<string>): Dojo.WatchHandle;
watch(prop: "class", callback: Dojo.WatchCallback<string>): Dojo.WatchHandle;
watch(prop: "containerNode", callback: Dojo.WatchCallback<HTMLElement>): Dojo.WatchHandle;
watch(prop: "dir", callback: Dojo.WatchCallback<string>): Dojo.WatchHandle;
watch(prop: "domNode", callback: Dojo.WatchCallback<HTMLElement>): Dojo.WatchHandle;
watch(prop: "focused", callback: Dojo.WatchCallback<boolean>): Dojo.WatchHandle;
watch(prop: "id", callback: Dojo.WatchCallback<string>): Dojo.WatchHandle;
watch(prop: "lang", callback: Dojo.WatchCallback<string>): Dojo.WatchHandle;
watch(prop: "ownerDocument", callback: Dojo.WatchCallback<HTMLDocument>): Dojo.WatchHandle;
watch(prop: "postMixInProperties", callback: Dojo.WatchCallback<string>): Dojo.WatchHandle;
watch(prop: "srcNodeRef", callback: Dojo.WatchCallback<HTMLElement>): Dojo.WatchHandle;
watch(prop: "style", callback: Dojo.WatchCallback<Dojo.StylesMap>): Dojo.WatchHandle;
watch(prop: "title", callback: Dojo.WatchCallback<string>): Dojo.WatchHandle;
watch(prop: "tooltip", callback: Dojo.WatchCallback<string>): Dojo.WatchHandle;
watch(prop: "attachScope", callback: Dojo.WatchCallback<Object>): Dojo.WatchHandle;
watch(prop: "searchContainerNode", callback: Dojo.WatchCallback<boolean>): Dojo.WatchHandle;
watch(prop: "templatePath", callback: Dojo.WatchCallback<string>): Dojo.WatchHandle;
watch(prop: "templateString", callback: Dojo.WatchCallback<string>): Dojo.WatchHandle;
watch(prop: "active", callback: Dojo.WatchCallback<boolean>): Dojo.WatchHandle;
watch(prop: "cssStateNodes", callback: Dojo.WatchCallback<{ [attachPoint: string]: string; }>): Dojo.WatchHandle;
watch(prop: "hovering", callback: Dojo.WatchCallback<boolean>): Dojo.WatchHandle;
watch(prop: "alt", callback: Dojo.WatchCallback<string>): Dojo.WatchHandle;
watch(prop: "aria-label", callback: Dojo.WatchCallback<string>): Dojo.WatchHandle;
watch(prop: "disabled", callback: Dojo.WatchCallback<boolean>): Dojo.WatchHandle;
watch(prop: "intermediateChanges", callback: Dojo.WatchCallback<boolean>): Dojo.WatchHandle;
watch(prop: "name", callback: Dojo.WatchCallback<string>): Dojo.WatchHandle;
watch(prop: "scrollOnFocus", callback: Dojo.WatchCallback<boolean>): Dojo.WatchHandle;
watch(prop: "tabIndex", callback: Dojo.WatchCallback<number>): Dojo.WatchHandle;
watch(prop: "type", callback: Dojo.WatchCallback<string>): Dojo.WatchHandle;
watch(prop: "value", callback: Dojo.WatchCallback<string>): Dojo.WatchHandle;
watch(prop: "readOnly", callback: Dojo.WatchCallback<boolean>): Dojo.WatchHandle;
// dijit/form/_FormSelectMixin
get(name: "labelAttr"): Object;
get(name: "loadChildrenOnOpen"): boolean;
get(name: "multiple"): boolean;
get(name: "onFetch"): Function;
get<T>(name: "onLoadDeferred"): dojo.Deferred<T>;
get(name: "options"): _SelectOption[];
get(name: "query"): any;
get(name: "queryOptions"): Dojo.Store.QueryOptions;
get(name: "sortByLabel"): boolean;
get<K>(name: "store"): Dojo.Store._Store<Object, K>;
set(name: "labelAttr", value: Object): void;
set(name: "loadChildrenOnOpen", value: boolean): void;
set(name: "multiple", value: boolean): void;
set(name: "onFetch", value: Function): void;
set<T>(name: "onLoadDeferred", value: dojo.Deferred<T>): void;
set(name: "options", value: _SelectOption[]): void;
set(name: "query", value: any): void;
set(name: "queryOptions", value: Dojo.Store.QueryOptions): void;
set(name: "sortByLabel", value: boolean): void;
set<K>(name: "store", value: Dojo.Store._Store<Object, K>): void;
watch(prop: "loadChildrenOnOpen", callback: Dojo.WatchCallback<boolean>): Dojo.WatchHandle;
watch(prop: "labelAttr", callback: Dojo.WatchCallback<Object>): Dojo.WatchHandle;
watch(prop: "multiple", callback: Dojo.WatchCallback<boolean>): Dojo.WatchHandle;
watch(prop: "onFetch", callback: Dojo.WatchCallback<Function>): Dojo.WatchHandle;
watch<T>(prop: "onLoadDeferred", callback: Dojo.WatchCallback<dojo.Deferred<T>>): Dojo.WatchHandle;
watch(prop: "options", callback: Dojo.WatchCallback<_SelectOption[]>): Dojo.WatchHandle;
watch(prop: "query", callback: Dojo.WatchCallback<any>): Dojo.WatchHandle;
watch(prop: "queryOptions", callback: Dojo.WatchCallback<Dojo.Store.QueryOptions>): Dojo.WatchHandle;
watch(prop: "sortByLabel", callback: Dojo.WatchCallback<boolean>): Dojo.WatchHandle;
watch<K>(prop: "store", callback: Dojo.WatchCallback<Dojo.Store._Store<Object, K>>): Dojo.WatchHandle;
// _HasDropDown
get(name: "autoWidth"): boolean;
get(name: "dropDown"): _WidgetBase;
get(name: "dropDownPosition"): string[];
get(name: "forceWidth"): boolean;
get(name: "maxHeight"): number;
set(name: "autoWidth", value: boolean): void;
set(name: "dropDown", value: _WidgetBase): void;
set(name: "dropDownPosition", value: string[]): void;
set(name: "forceWidth", value: boolean): void;
set(name: "maxHeight", value: number): void;
watch(prop: "autoWidth", callback: Dojo.WatchCallback<boolean>): Dojo.WatchHandle;
watch(prop: "dropDown", callback: Dojo.WatchCallback<_WidgetBase>): Dojo.WatchHandle;
watch(prop: "dropDownPosition", callback: Dojo.WatchCallback<string[]>): Dojo.WatchHandle;
watch(prop: "forceWidth", callback: Dojo.WatchCallback<boolean>): Dojo.WatchHandle;
watch(prop: "maxHeight", callback: Dojo.WatchCallback<number>): Dojo.WatchHandle;
closeDropDown(focus: boolean): void;
isLoaded(): boolean;
isValid(isFocused?: boolean): boolean;
loadAndOpenDropDown(): Object;
loadDropDown(loadCallback: Function): void;
openDropDown(): any;
toggleDropDown(): void;
reset(): void;
validate(isFocused: boolean): void;
// _KeyNavMixin
get(name: "childSelector"): Object;
get(name: "focusedChild"): Object;
get(name: "multiCharSearchDuration"): number;
set(name: "childSelector", value: Object): void;
set(name: "focusedChild", value: Object): void;
set(name: "multiCharSearchDuration", value: number): void;
watch(prop: "childSelector", callback: Dojo.WatchCallback<Object>): Dojo.WatchHandle;
watch(prop: "focusedChild", callback: Dojo.WatchCallback<Object>): Dojo.WatchHandle;
watch(prop: "multiCharSearchDuration", callback: Dojo.WatchCallback<number>): Dojo.WatchHandle;
focus(): void;
focusChild(widget: _WidgetBase, last: boolean): void;
focusFirstChild(): void;
focusLastChild(): void;
onKeyboardSearch(item: _WidgetBase, event: Event, searchString: string, numMatches: number): void;
// Select
get(name: "emptyLabel"): string;
get(name: "message"): string;
get(name: "required"): boolean;
get(name: "state"): string;
get(name: "tooltipPosition"): string[];
set(name: "emptyLabel", value: string): void;
set(name: "message", value: string): void;
set(name: "required", value: boolean): void;
set(name: "state", value: string): void;
set(name: "tooltipPosition", value: string[]): void;
watch(prop: "emptyLabel", callback: Dojo.WatchCallback<string>): Dojo.WatchHandle;
watch(prop: "message", callback: Dojo.WatchCallback<string>): Dojo.WatchHandle;
watch(prop: "required", callback: Dojo.WatchCallback<boolean>): Dojo.WatchHandle;
watch(prop: "state", callback: Dojo.WatchCallback<string>): Dojo.WatchHandle;
watch(prop: "tooltipPosition", callback: Dojo.WatchCallback<string[]>): Dojo.WatchHandle;
// get/set/watch master signatures
get<T>(name: string): T;
set<T>(name: string, value: T, raiseChangeEvent?: boolean): void;
set(values: Dojo.PropertiesMap): void;
watch<T>(prop: string, callback: Dojo.WatchCallback<T>): Dojo.WatchHandle;
// Events
on(type: "Blur", listener: Dojo.Action): Dojo.RemovableHandle;
on(type: "Change", listener: (newValue: any) => void): Dojo.RemovableHandle;
on(type: "Click", listener: Dojo.EventListener<MouseEvent>): Dojo.RemovableHandle;
on(type: "Close", listener: Dojo.Action): Dojo.RemovableHandle;
on(type: "DblClick", listener: Dojo.EventListener<MouseEvent>): Dojo.RemovableHandle;
on(type: "Focus", listener: Dojo.Action): Dojo.RemovableHandle;
on(type: "Hide", listener: Dojo.Action): Dojo.RemovableHandle;
on(type: "Input", listener: (ev: KeyboardEvent) => boolean): Dojo.RemovableHandle;
on(type: "KeyDown", listener: Dojo.EventListener<KeyboardEvent>): Dojo.RemovableHandle;
on(type: "KeyPress", listener: Dojo.EventListener<KeyboardEvent>): Dojo.RemovableHandle;
on(type: "KeyUp", listener: Dojo.EventListener<KeyboardEvent>): Dojo.RemovableHandle;
on(type: "MouseDown", listener: Dojo.EventListener<MouseEvent>): Dojo.RemovableHandle;
on(type: "MouseEnter", listener: Dojo.EventListener<MouseEvent>): Dojo.RemovableHandle;
on(type: "MouseLeave", listener: Dojo.EventListener<MouseEvent>): Dojo.RemovableHandle;
on(type: "MouseMove", listener: Dojo.EventListener<MouseEvent>): Dojo.RemovableHandle;
on(type: "MouseOut", listener: Dojo.EventListener<MouseEvent>): Dojo.RemovableHandle;
on(type: "MouseOver", listener: Dojo.EventListener<MouseEvent>): Dojo.RemovableHandle;
on(type: "MouseUp", listener: Dojo.EventListener<MouseEvent>): Dojo.RemovableHandle;
on(type: "Show", listener: Dojo.Action): Dojo.RemovableHandle;
on(type: "SetStore", listener: Dojo.Action): Dojo.RemovableHandle;
on(type: "KeyboardSearch", listener: (item: _WidgetBase, evt: Event, searchString: string, numMatches: number) => void): Dojo.RemovableHandle;
on(type: string, listener: Dojo.Action): Dojo.RemovableHandle;
on(type: string, listener: (ev: KeyboardEvent) => boolean): Dojo.RemovableHandle;
on(type: Dojo.ExtensionEvent, func: Dojo.Action): Dojo.RemovableHandle;
}
}
}
// Module definitions
declare module "dijit/form/Select"
{
var Select: typeof dijit.form.Select;
export = Select;
}