NgSwitchDefault
directive
deprecatedsince v20.0
Creates a view that is rendered when no NgSwitchCase expressions
match the NgSwitch expression.
This statement should be the final case in an NgSwitch.
Deprecation warning
API
class NgSwitchDefault { constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef<Object>, ngSwitch: NgSwitch): NgSwitchDefault;}
constructor
NgSwitchDefault@returns
NgSwitchDefaultDescription
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