// selector.js\r
interface Library {\r
get(id: string): Element;\r
- select(query: string, parent: HTMLElement): Set;\r
+ select(query: string): Set;\r
}\r
interface Parent {\r
- select(query: string): Set;\r
+ select(query: string, parent: HTMLElement): Set;\r
}\r
\r
// set.js\r
last(): Element;\r
valueOf(): Element[];\r
bbox(): BBox;\r
+ click(cb: Function): Set;\r
}\r
interface Container { set(members?: Element[]): Set; }\r
interface Library { Set: Set; }\r
\r
// TODO style, etc, bbox...\r
}\r
-}\r
+}
\ No newline at end of file