AngularJS ng-open utos
Paglilinaw at paggamit
ng-open
Mga utos na setting <details>
Listahan ng open
Atributo.
Kung ng-open
The expression in the attribute returns true
If <details>
The list will be visible.
Example
To display/hide the <details> list by clicking the checkbox:
<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. |