##// END OF EJS Templates
added type parameter to Evented<T>, T is the event map...
added type parameter to Evented<T>, T is the event map _WidgetBase emit() and on() are now more strict, they accept only valid event names, or explicit `any` added _setValueAttr method to _FormMixin

File last commit:

r0:ab570232df7d default
r10:641c326d4bb4 v1.0.2 default
Show More
on.d.ts
29 lines | 609 B | video/mp2t | TypeScriptLexer
cin
Initial commit, project structure.
r0 /// <reference path="dojo.d.ts" />
declare namespace dojo {
namespace on {
/* dojo/on/asyncEventListener */
interface AsyncEventListener {
/**
* This sub module provide an event factory for delayed events (like debounce or throttle)
*/
(listener: EventListener): EventListener;
}
/* dojo/on/debounce */
interface Debounce {
/**
* event parser for custom events
*/
(selector: string | ExtensionEvent, delay: number): ExtensionEvent;
}
/* dojo/on/throttle */
interface Throttle {
(selector: string | ExtensionEvent, delay: number): ExtensionEvent;
}
}
}