Adding angular $animate definition

This commit is contained in:
Michel Salib
2014-02-12 14:50:21 +01:00
parent 1a6eaf4055
commit 62f9fa8fda
3 changed files with 33 additions and 3 deletions
+21
View File
@@ -0,0 +1,21 @@
// Type definitions for Angular JS 1.2+ (ngAnimate module)
// Project: http://angularjs.org
// Definitions by: Michel Salib <michelsalib@hotmail.com>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
/// <reference path="angular.d.ts" />
///////////////////////////////////////////////////////////////////////////////
// ngAnimate module (angular-animate.js)
///////////////////////////////////////////////////////////////////////////////
declare module ng.animate {
///////////////////////////////////////////////////////////////////////////
// AnimateService
// see http://docs.angularjs.org/api/ngAnimate.$animate
///////////////////////////////////////////////////////////////////////////
interface IAnimateService extends ng.IAnimateService {
enabled(value?: boolean, element?: JQuery): boolean;
}
}