parent
7421312a7b
commit
b10e3768d1
|
@ -774,7 +774,7 @@ figure.image-display
|
||||||
:marked
|
:marked
|
||||||
### NgSwitch
|
### NgSwitch
|
||||||
We bind to `NgSwitch` when we want to display *one* element tree (an element and its children)
|
We bind to `NgSwitch` when we want to display *one* element tree (an element and its children)
|
||||||
from a *set* of possible elment trees based on some condition.
|
from a *set* of possible element trees based on some condition.
|
||||||
Angular only puts the *selected* element tree into the DOM.
|
Angular only puts the *selected* element tree into the DOM.
|
||||||
|
|
||||||
Here’s an example:
|
Here’s an example:
|
||||||
|
|
Loading…
Reference in New Issue