jQuery: The interface used to specify easing functions add

This commit is contained in:
Michal Kutil
2013-12-15 23:04:05 +01:00
parent 909a178441
commit 0d2fb0d17a
2 changed files with 13 additions and 0 deletions
+8
View File
@@ -348,6 +348,13 @@ interface JQueryEventConstructor {
new (name: string, eventProperties?: any): JQueryEventObject;
}
/**
* The interface used to specify easing functions.
*/
interface JQueryEasing {
linear(p: number): number;
swing(p: number): number;
}
/*
Static members of jQuery (those on $ and jQuery themselves)
@@ -647,6 +654,7 @@ interface JQueryStatic {
Animation(elem: any, properties: any, options: any): any;
easing: JQueryEasing;
}
/*