mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
add easing functions to jquery and jqueryui
This commit is contained in:
Vendored
+13
@@ -607,6 +607,16 @@ interface JQueryAnimationOptions {
|
||||
specialEasing?: Object;
|
||||
}
|
||||
|
||||
interface JQueryEasingFunction {
|
||||
( percent: number ): number;
|
||||
}
|
||||
|
||||
interface JQueryEasingFunctions {
|
||||
[ name: string ]: JQueryEasingFunction;
|
||||
linear: JQueryEasingFunction;
|
||||
swing: JQueryEasingFunction;
|
||||
}
|
||||
|
||||
/**
|
||||
* Static members of jQuery (those on $ and jQuery themselves)
|
||||
*/
|
||||
@@ -889,6 +899,9 @@ interface JQueryStatic {
|
||||
/**
|
||||
* Effects
|
||||
*/
|
||||
|
||||
easing: JQueryEasingFunctions;
|
||||
|
||||
fx: {
|
||||
tick: () => void;
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user