docs($animate): $animate.enabled's param is optional

The docs show that param 'element' (of type DOMElement) is required when it is optional.
This commit is contained in:
Kevin Western
2014-06-04 14:55:29 -07:00
committed by Brian Ford
parent 4da169d15d
commit 5e140a99c7

View File

@@ -744,7 +744,7 @@ angular.module('ngAnimate', ['ng'])
* @kind function
*
* @param {boolean=} value If provided then set the animation on or off.
* @param {DOMElement} element If provided then the element will be used to represent the enable/disable operation
* @param {DOMElement=} element If provided then the element will be used to represent the enable/disable operation
* @return {boolean} Current animation state.
*
* @description