diff options
author | Diego Bonura <diego@bonura.dev> | 2021-09-07 15:29:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-07 15:29:13 +0200 |
commit | fabf1801e3b891d2ea59c5f58a18333126a3b88c (patch) | |
tree | 68a8d26d9565b29f2fc25f18cd6227477523c705 /svg.js.d.ts | |
parent | 33e755bab5123f0e4c4eec32f9221a756492d178 (diff) | |
download | svg.js-fabf1801e3b891d2ea59c5f58a18333126a3b88c.tar.gz svg.js-fabf1801e3b891d2ea59c5f58a18333126a3b88c.zip |
Update svg.js.d.ts
Add zoom():number to d.ts to get current zoom level
Diffstat (limited to 'svg.js.d.ts')
-rw-r--r-- | svg.js.d.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/svg.js.d.ts b/svg.js.d.ts index 17f262e..f45983f 100644 --- a/svg.js.d.ts +++ b/svg.js.d.ts @@ -1104,6 +1104,7 @@ declare module "@svgdotjs/svg.js" { viewbox(x: number, y: number, width: number, height: number): this;
textPath(text: string | Text, path: string | Path): TextPath
symbol(): Symbol
+ zoom(): number
zoom(level: NumberAlias, point?: Point): this;
}
|