diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2019-02-28 22:20:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-28 22:20:48 +0100 |
commit | 372f343d58afa41af83442471bf3676c5bae0e2a (patch) | |
tree | 51990e98957f156d1abe8011eb60b849826a624c | |
parent | e4a8579000c1a4e6587bd63eb2875bff677f5f1e (diff) | |
parent | 5f77ce5feb17a5047e15816aef5b6c0898392fa9 (diff) | |
download | svg.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.ts | 6 |
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 +}
|