diff options
author | flynn.park <niceilm@naver.com> | 2018-02-24 01:10:19 +0900 |
---|---|---|
committer | flynn.park <niceilm@naver.com> | 2018-02-24 01:10:19 +0900 |
commit | eb0ca7c8e2ef5f1ed30873db4e2ce899c765586d (patch) | |
tree | dc2857946bda2202dde0db1dd5157a931cb15331 | |
parent | 9e1806ae594d77fec9ab24dfc7f45ea2fa55adb2 (diff) | |
download | svg.js-eb0ca7c8e2ef5f1ed30873db4e2ce899c765586d.tar.gz svg.js-eb0ca7c8e2ef5f1ed30873db4e2ce899c765586d.zip |
Fix typings for missing event.js method
event
-rw-r--r-- | svg.js.d.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/svg.js.d.ts b/svg.js.d.ts index 8064364..5a12594 100644 --- a/svg.js.d.ts +++ b/svg.js.d.ts @@ -320,6 +320,7 @@ declare namespace svgjs { off(event: string, cb: Function, context?: Object): this;
fire(event: string, data?: any): this;
fire(event: Event): this;
+ event(): Event | CustomEvent;
click(cb: Function): this;
dblclick(cb: Function): this;
|