mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-28 12:30:21 +08:00
add easing functions to jquery and jqueryui
This commit is contained in:
1 parent
4c41545030
commit
cf2a968f0e
2 files changed
+46
No files matched your search
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