summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Radcliffe <mradcliffe@softpixel.com>2019-12-16 07:32:47 -0500
committerMatthew Radcliffe <mradcliffe@softpixel.com>2019-12-16 07:32:47 -0500
commita65b3e4a9f0ea93c4af84ae6c32a080a942bcf3b (patch)
tree638c6b55d0a450e7db3d25625a65bb22a3eae2d6
parentbe7ae4c2f6077af9363a266e59eba36dbface813 (diff)
downloadsvg.js-a65b3e4a9f0ea93c4af84ae6c32a080a942bcf3b.tar.gz
svg.js-a65b3e4a9f0ea93c4af84ae6c32a080a942bcf3b.zip
Changes animate duration argument to TimeLike
-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 60c3a55..5b20b92 100644
--- a/svg.js.d.ts
+++ b/svg.js.d.ts
@@ -807,7 +807,7 @@ declare module "@svgdotjs/svg.js" {
element(el: Element): this
timeline(): Timeline
timeline(timeline: Timeline): this
- animate(duration: number, delay?: number, when?: string): this
+ animate(duration: TimeLike, delay?: number, when?: string): this
schedule(delay: number, when?: string): this
schedule(timeline: Timeline, delay?: number, when?: string): this
unschedule(): this
@@ -1169,7 +1169,7 @@ declare module "@svgdotjs/svg.js" {
addClass(name: string): this;
after(element: Element): Element;
- animate(duration?: number, delay?: number, when?: string): Runner;
+ animate(duration?: TimeLike, delay?: number, when?: string): Runner;
delay(by: number, when?: string): Runner
attr(): any;
attr(name: string, value: any, namespace?: string): this;