• Overview
@angular/common

NgSwitchDefault

directive

Creates a view that is rendered when no NgSwitchCase expressions match the NgSwitch expression. This statement should be the final case in an NgSwitch.

API

  
    class NgSwitchDefault {}
  
  

constructor

NgSwitchDefault
@paramviewContainerViewContainerRef
@paramtemplateRefTemplateRef<Object>
@paramngSwitchNgSwitch

Description

Creates a view that is rendered when no NgSwitchCase expressions match the NgSwitch expression. This statement should be the final case in an NgSwitch.


Exported by

Jump to details