mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
Merge pull request #1687 from michelsalib/angular-animate
Adding angular $animate definition
This commit is contained in:
13
angularjs/angular.d.ts
vendored
13
angularjs/angular.d.ts
vendored
@@ -799,10 +799,19 @@ declare module ng {
|
||||
inheritedData(key: string, value: any): JQuery;
|
||||
inheritedData(obj: { [key: string]: any; }): JQuery;
|
||||
inheritedData(key?: string): any;
|
||||
|
||||
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////
|
||||
// AnimateService
|
||||
// see http://docs.angularjs.org/api/ng.$animate
|
||||
///////////////////////////////////////////////////////////////////////
|
||||
interface IAnimateService {
|
||||
addClass(element: JQuery, className: string, done?: Function): void;
|
||||
enter(element: JQuery, parent: JQuery, after: JQuery, done?: Function): void;
|
||||
leave(element: JQuery, done?: Function): void;
|
||||
move(element: JQuery, parent: JQuery, after: JQuery, done?: Function): void;
|
||||
removeClass(element: JQuery, className: string, done?: Function): void;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// AUTO module (angular.js)
|
||||
|
||||
Reference in New Issue
Block a user