]> source.dussan.org Git - svg.js.git/commitdiff
Add mouseenter()/mouseleave() function definition to types. 1096/head
authorLuma <tomorinao.info@gmail.com>
Mon, 23 Mar 2020 04:13:14 +0000 (13:13 +0900)
committerLuma <tomorinao.info@gmail.com>
Mon, 23 Mar 2020 04:13:14 +0000 (13:13 +0900)
svg.js.d.ts

index 5b20b922f4a9855c8d748c1948fa716f56e4aa5e..e5db341c712d41ee5b8b88c95e466c2e858ee89e 100644 (file)
@@ -1241,6 +1241,8 @@ declare module "@svgdotjs/svg.js" {
         mouseout(cb: Function | null): this;\r
         mouseover(cb: Function | null): this;\r
         mouseup(cb: Function | null): this;\r
+        mouseenter(cb: Function | null): this;\r
+        mouseleave(cb: Function | null): this;\r
         move(x: NumberAlias, y: NumberAlias): this;\r
         native(): LinkedHTMLElement;\r
         next(): Element;\r