mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 20:21:46 +00:00
Update velocity-animate.d.ts (#12020)
This commit is contained in:
@@ -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
@@ -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] |
|
||||
|
||||
Reference in New Issue
Block a user