aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2019-02-28 22:20:48 +0100
committerGitHub <noreply@github.com>2019-02-28 22:20:48 +0100
commit372f343d58afa41af83442471bf3676c5bae0e2a (patch)
tree51990e98957f156d1abe8011eb60b849826a624c
parente4a8579000c1a4e6587bd63eb2875bff677f5f1e (diff)
parent5f77ce5feb17a5047e15816aef5b6c0898392fa9 (diff)
downloadsvg.js-372f343d58afa41af83442471bf3676c5bae0e2a.tar.gz
svg.js-372f343d58afa41af83442471bf3676c5bae0e2a.zip
Merge pull request #971 from manospasj/patch-2
Updated ease type in svg.js.d.ts
-rw-r--r--svg.js.d.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/svg.js.d.ts b/svg.js.d.ts
index dec13f6..47d858e 100644
--- a/svg.js.d.ts
+++ b/svg.js.d.ts
@@ -347,8 +347,8 @@ declare namespace svgjs {
}
}
interface Element {
- animate(duration?: number, ease?: string, delay?: number): Animation;
- animate(info: { ease?: string; duration?: number; delay?: number }): Animation;
+ animate(duration?: number, ease?: string | ((pos: number) => number), delay?: number): Animation;
+ animate(info: { ease?: string | ((pos: number) => number); duration?: number; delay?: number }): Animation;
stop(jumpToEnd:boolean,clearQueue:boolean): Animation;
}
// TODO finishs FX
@@ -1034,4 +1034,4 @@ declare namespace svgjs {
// TODO style, etc, bbox...
}
-} \ No newline at end of file
+}