mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-20 00:59:29 +08:00
Added animation() signatures to IModule
AngularJS 1.1.4 now has animation support baked into the framework, as outlined here: http://www.yearofmoo.com/2013/04/animation-in-angularjs.html API documentation can be found here: http://code.angularjs.org/1.1.4/docs/api/angular.Module
This commit is contained in:
3
angularjs/angular.d.ts
vendored
3
angularjs/angular.d.ts
vendored
@@ -72,6 +72,9 @@ declare module ng {
|
||||
// see http://docs.angularjs.org/api/angular.Module
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
interface IModule {
|
||||
animation(name: string, animationFactory: Function): IModule;
|
||||
animation(name: string, inlineAnnotadedFunction: any[]): IModule;
|
||||
animation(object: Object): IModule;
|
||||
/** configure existing services.
|
||||
Use this method to register work which needs to be performed on module loading
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user