]> source.dussan.org Git - svg.js.git/commitdiff
Fix typings for missing event.js method
authorflynn.park <niceilm@naver.com>
Fri, 23 Feb 2018 16:10:19 +0000 (01:10 +0900)
committerflynn.park <niceilm@naver.com>
Fri, 23 Feb 2018 16:10:19 +0000 (01:10 +0900)
event

svg.js.d.ts

index 8064364d2796b7e693aec9955d79420e145402bc..5a12594df65b1a9c900afc42dffb7f5ab2939fc0 100644 (file)
@@ -320,6 +320,7 @@ declare namespace svgjs {
         off(event: string, cb: Function, context?: Object): this;\r
         fire(event: string, data?: any): this;\r
         fire(event: Event): this;\r
+        event(): Event | CustomEvent;\r
 \r
         click(cb: Function): this;\r
         dblclick(cb: Function): this;\r