]> source.dussan.org Git - svg.js.git/commitdiff
Optional second parameter for 'select' method
authorpycraft114 <pycraft114@gmail.com>
Wed, 9 May 2018 08:15:59 +0000 (17:15 +0900)
committerpycraft114 <pycraft114@gmail.com>
Wed, 9 May 2018 08:15:59 +0000 (17:15 +0900)
svg.js.d.ts

index e5536cc7a753efe054c754cc1c89696db4b5a4ea..d624e88ffda0d58ad865e1e6ff7b754df6ea566f 100644 (file)
@@ -752,7 +752,7 @@ declare namespace svgjs {
     // selector.js\r
     interface Library {\r
         get(id: string): Element;\r
-        select(query: string, parent: HTMLElement): Set;\r
+        select(query: string, parent?: HTMLElement): Set;\r
     }\r
     interface Parent {\r
         select(query: string): Set;\r