summaryrefslogtreecommitdiffstats
path: root/svg.js.d.ts
diff options
context:
space:
mode:
authorPhilippe Bernard <philippe.bernard@gmail.com>2020-10-14 11:20:20 +0200
committerPhilippe Bernard <philippe.bernard@gmail.com>2020-10-14 11:20:20 +0200
commitc24eab6180fd86b2b5973d37d9a0099e1f50afbb (patch)
tree57fe74cb7a7849497e588c41831b29ffdca9aeb6 /svg.js.d.ts
parent99e176f76332b47a6c026dbd9dcf7742191b8b29 (diff)
downloadsvg.js-c24eab6180fd86b2b5973d37d9a0099e1f50afbb.tar.gz
svg.js-c24eab6180fd86b2b5973d37d9a0099e1f50afbb.zip
New paremeter assignNewIds for Dom.clone()
Diffstat (limited to 'svg.js.d.ts')
-rw-r--r--svg.js.d.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/svg.js.d.ts b/svg.js.d.ts
index c347d4d..6196e63 100644
--- a/svg.js.d.ts
+++ b/svg.js.d.ts
@@ -933,7 +933,7 @@ declare module "@svgdotjs/svg.js" {
addTo(parent: Dom | HTMLElement | string): this
children(): List<Element>;
clear(): this;
- clone(): this;
+ clone(deep?: boolean, assignNewIds?: boolean): this;
each(block: (index: number, children: Element[]) => void, deep?: boolean): this;
element(element: string, inherit?: object): this;
first(): Element;
@@ -1180,7 +1180,7 @@ declare module "@svgdotjs/svg.js" {
click(cb: Function | null): this;
clipper(): ClipPath;
clipWith(element: Element): this;
- clone(): this;
+ clone(deep?: boolean, assignNewIds?: boolean): this;
ctm(): Matrix;
cx(): number;
cx(x: number): this;