aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflynn.park <niceilm@naver.com>2018-02-24 01:10:19 +0900
committerflynn.park <niceilm@naver.com>2018-02-24 01:10:19 +0900
commiteb0ca7c8e2ef5f1ed30873db4e2ce899c765586d (patch)
treedc2857946bda2202dde0db1dd5157a931cb15331
parent9e1806ae594d77fec9ab24dfc7f45ea2fa55adb2 (diff)
downloadsvg.js-eb0ca7c8e2ef5f1ed30873db4e2ce899c765586d.tar.gz
svg.js-eb0ca7c8e2ef5f1ed30873db4e2ce899c765586d.zip
Fix typings for missing event.js method
event
-rw-r--r--svg.js.d.ts1
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;