diff options
Diffstat (limited to 'svg.js.d.ts')
-rw-r--r-- | svg.js.d.ts | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/svg.js.d.ts b/svg.js.d.ts index 4a08093..75ea533 100644 --- a/svg.js.d.ts +++ b/svg.js.d.ts @@ -754,10 +754,10 @@ declare namespace svgjs { // selector.js
interface Library {
get(id: string): Element;
- select(query: string, parent: HTMLElement): Set;
+ select(query: string): Set;
}
interface Parent {
- select(query: string): Set;
+ select(query: string, parent: HTMLElement): Set;
}
// set.js
@@ -775,6 +775,7 @@ declare namespace svgjs { last(): Element;
valueOf(): Element[];
bbox(): BBox;
+ click(cb: Function): Set;
}
interface Container { set(members?: Element[]): Set; }
interface Library { Set: Set; }
@@ -1020,4 +1021,4 @@ declare namespace svgjs { // TODO style, etc, bbox...
}
-}
+}
\ No newline at end of file |