In Angular 2, hidden property or [hidden] is a special case binding used to hide property. It can be compared close to ng-show and ng-hide, but more powerful to bind any property types of elements.

Example

                                        
<div [hidden]="!active">
  Hello, this is an active area!
</div>

Suggest An Answer

No suggestions Available!