YouTip LogoYouTip

Ng Ng Open

# AngularJS `ng-open` Directive [![Image 3: AngularJS Reference](#) AngularJS Reference](#) * * * ## AngularJS Example Show or hide a
list by clicking a checkbox:
Learning Not Just Technology, But Also Dreams!

-

[Try it Β»](#) * * * ## Definition and Usage The **ng-open** directive sets the open attribute of a details list. If the expression in **ng-open** returns true, the details list is visible. * * * ## Syntax
...
The
element supports this directive. * * * ## Parameter Values | Value | Description | | --- | --- | | _expression_ | If the expression is true, it will set the open attribute of the details element. | * * AngularJS Reference](#)
← Ng Ng PasteNg Ng Open β†’