Update velocity-animate.d.ts (#12020)

This commit is contained in:
qookie
2016-10-16 23:35:52 +09:00
committed by Masahiro Wakame
parent bf06cb0670
commit 455bf06f0a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ function options_progress() {
$el.velocity({
opacity: 0
}, {
progress: function(elements, percentComplete, timeRemaining, timeStart) {
progress: function(elements, percentComplete, timeRemaining, timeStart, tweenValue) {
$percentComplete.html((percentComplete * 100) + "%");
$timeRemaining.html(timeRemaining + "ms remaining!");
}
+1 -1
View File
@@ -23,7 +23,7 @@ declare namespace jquery.velocity {
type Properties = Object;
type Easing = string|number[];
type ElementCallback = (elements: NodeListOf<HTMLElement>) => void;
type ProgressCallback = (elements: NodeListOf<HTMLElement>, percentComplete: number, timeRemaining: number, timeStart: number) => void;
type ProgressCallback = (elements: NodeListOf<HTMLElement>, percentComplete: number, timeRemaining: number, timeStart: number, tweenValue: number) => void;
type EffectCall =
[Properties] |
[Properties, number] |