##// END OF EJS Templates
updated _WidgetBase typings, added support for the generic type parameter to the constructor
updated _WidgetBase typings, added support for the generic type parameter to the constructor

File last commit:

r0:ab570232df7d default
r1:d55cc09feba1 default
Show More
selector.d.ts
26 lines | 719 B | video/mp2t | TypeScriptLexer
cin
Initial commit, project structure.
r0 declare namespace dojo {
namespace selector {
/* dojo/selector/_loader */
interface Loader {
/**
* This module handles loading the appropriate selector engine for the given browser
*/
load(id: string, parentRequire: Function, loaded: Function): void; /* TODO: Align with loader api */
}
/* dojo/selector/acme */
interface AcmeQueryEngine {
<T extends Node>(query: string, root?: NodeOrString): T[];
filter<T extends Node>(nodeList: T[], filter: string, root?: NodeOrString): T[];
}
/* dojo/selector/lite */
interface LiteQueryEnegine {
<T extends Node>(query: string, root?: NodeOrString): T[];
match(node: Node, selector: string, root?: NodeOrString): boolean;
}
}
}