10000 Update JSDoc for ngAnimate.enabled to show optional value · kevinwestern/angular.js@a344911 · GitHub
[go: up one dir, main page]

Skip to content

Commit a344911

Browse files
committed
Update JSDoc for ngAnimate.enabled to show optional value
The docs show that param 'element' (of type DOMElement) is required when it is optional.
1 parent a5df219 commit a344911

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ngAnimate/animate.js

Lines changed: 1 addition & 1 deletion
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)
0