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:
Brett Postin
2013-05-15 10:49:16 +02:00
parent e79e377f5a
commit 2bfb2aab09

View File

@@ -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
*/