AngularJS

AngularJS Directives

AngularJS Filters and Elements

AngularJS Tutorials

AngularJS ng open Directive

AngularJS ng-open Directive

 

 

The ng-open directive is used to set the open attribute of a details list. The details list will be visible only if the ng-open attribute returns true.

 

Syntax:-

 

< details ng-open="expression" >< /details >

 

Further Explanation:-

 

Value Description
expression An expression that will set the element's open attribute if it returns true.

Code Explanation

All Tutorials related to AngularJS Directives

All Sections related to AngularJS