Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit b6cb045

Browse files
kevinwesternbtford
authored andcommitted
docs($animate): $animate.enabled's param is optional
The docs show that param 'element' (of type DOMElement) is required when it is optional.
1 parent ac3f0d0 commit b6cb045

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ngAnimate/animate.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,7 @@ angular.module('ngAnimate', ['ng'])
831831
* @kind function
832832
*
833833
* @param {boolean=} value If provided then set the animation on or off.
834-
* @param {DOMElement} element If provided then the element will be used to represent the enable/disable operation
834+
* @param {DOMElement=} element If provided then the element will be used to represent the enable/disable operation
835835
* @return {boolean} Current animation state.
836836
*
837837
* @description

0 commit comments

Comments
 (0)