AngularJS ng-open
Directive
AngularJS Example
Display or hide the <details>
list by clicking the checkbox:
Definition and Usage
The ng-open directive is used to set the open attribute of the details list.
If the expression of ng-open returns true, the details list is visible.
Syntax
The <details>
element supports this directive.
Parameter Values
Value | Description |
---|---|
expression | Sets the open attribute of details if the expression is true. |