NgSwitchDefault
NgSwitchDefault
Stable Directive
What it does
Creates a view that is added to the parent NgSwitch
when no case expressions match the switch expression.
How to use
<container-element [ngSwitch]="switch_expression"> <some-element *ngSwitchCase="match_expression_1">...</some-element> <some-other-element *ngSwitchDefault>...</some-other-element> </container-element>