NgSwitchWhen constructor

NgSwitchWhen(
  1. ViewContainerRef viewContainer,
  2. TemplateRef templateRef,
  3. @Host() NgSwitch ngSwitch
)

Implementation

NgSwitchWhen(ViewContainerRef viewContainer, TemplateRef templateRef,
    @Host() NgSwitch ngSwitch) {
  _switch = ngSwitch;
  _view = SwitchView(viewContainer, templateRef);
}