add easing functions to jquery and jqueryui

This commit is contained in:
error
2015-12-22 10:26:33 -06:00
parent 4c41545030
commit cf2a968f0e
2 changed files with 46 additions and 0 deletions
+13
View File
@@ -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;
/**