NgSwitchDefault constructor

NgSwitchDefault(
  1. ViewContainerRef viewContainer,
  2. TemplateRef templateRef,
  3. @Host() NgSwitch switchDirective
)

Implementation

NgSwitchDefault(ViewContainerRef viewContainer, TemplateRef templateRef,
    @Host() NgSwitch switchDirective) {
  switchDirective._registerView(
      _WHEN_DEFAULT, SwitchView(viewContainer, templateRef));
}