AngularJS ng-open instructie
definitie en gebruik
ng-open
instructie instellen <details>
lijst van open
eigenschap.
Als ng-open
The expression in the attribute returns true
if <details>
The list will be visible.
Example
Click the checkbox to show/hide the <details> list:
<input type="checkbox" ng-model="showDetails"> <details ng-open="showDetails"> <summary>Copyright 1999-2024.</summary> <p> - by YK Investment All Rights Reserved.</p> </details>
Syntax
<details ng-open="expression">...</details>
Affected <details>
Element Support.
Parameters
Parameters | Description |
---|---|
expression | If it returns true, it will set the expression of the open attribute of the element. |