aboutsummaryrefslogtreecommitdiffstats
path: root/svg.js.d.ts
diff options
context:
space:
mode:
authorDiego Bonura <diego@bonura.dev>2021-09-07 15:29:13 +0200
committerGitHub <noreply@github.com>2021-09-07 15:29:13 +0200
commitfabf1801e3b891d2ea59c5f58a18333126a3b88c (patch)
tree68a8d26d9565b29f2fc25f18cd6227477523c705 /svg.js.d.ts
parent33e755bab5123f0e4c4eec32f9221a756492d178 (diff)
downloadsvg.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.ts1
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;
}