官术网_书友最值得收藏!

Router state

A router state is a subtree of the configuration tree. For instance, the example below has ConversationsCmp activated. We say activated instead of instantiated as a component can be instantiated only once but activated multiple times (any time its route's parameters change):

Not all subtrees of the configuration tree are valid router states. If a node has multiple children of the same color, i.e., of the same outlet name, only one of them can be active at a time. For instance, ComposeCmp and PopupMessageCmp cannot be displayed together, but ConversationsCmp and PopupMessageCmp can. Stands to reason, an outlet is nothing but a location in the DOM where a component is placed. So we cannot place more than one component into the same location at the same time.

主站蜘蛛池模板: 固始县| 勃利县| 肥乡县| 故城县| 石河子市| 姜堰市| 临城县| 宝兴县| 阿克苏市| 长寿区| 大港区| 嵩明县| 凉城县| 新邵县| 河东区| 大英县| 体育| 祁阳县| 台南县| 林芝县| 射阳县| 门源| 西林县| 会泽县| 勃利县| 娄底市| 林芝县| 伊宁市| 宝坻区| 宁城县| 和龙市| 遂平县| 桐梓县| 江达县| 龙陵县| 鲁甸县| 宜良县| 甘肃省| 大理市| 原平市| 托克托县|