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

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.

主站蜘蛛池模板: 西乌珠穆沁旗| 临桂县| 咸阳市| 望谟县| 龙山县| 云南省| 织金县| 玛沁县| 阿拉尔市| 调兵山市| 厦门市| 平果县| 岳池县| 绥滨县| 唐海县| 绍兴市| 蓝山县| 天峨县| 昔阳县| 罗源县| 凉城县| 汝阳县| 大田县| 天气| 和林格尔县| 兴山县| 林西县| 贵南县| 横峰县| 方山县| 红河县| 永年县| 建阳市| 治多县| 定远县| 怀远县| 德令哈市| 栖霞市| 志丹县| 兴城市| 休宁县|