NgSwitchWhen

export directive NgSwitchWhen

exported from angular2/common defined in angular2/src/common/directives/ng_switch.ts (line 159)

Insert the sub-tree when the ngSwitchWhen expression evaluates to the same value as the enclosing switch expression.

If multiple match expression match the switch expression value, all of them are displayed.

See NgSwitch for more details and example.

Selectors

[ngSwitchWhen]

Inputs

ng-switch-when bound to NgSwitchWhen.ngSwitchWhen

Constructor

constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef, ngSwitch: NgSwitch)

Not Yet Documented

Members

ngSwitchWhen

Not Yet Documented