ngComponentRouter.type

Type components in ngComponentRouter

Name Description
Router

A Router is responsible for mapping URLs to components.

ChildRouter

This type extends the Router.

RootRouter

This type extends the Router.

ComponentInstruction

A ComponentInstruction represents the route state for a single component. An Instruction is composed of a tree of these ComponentInstructions.

RouteDefinition

Each item in the RouteConfig for a Routing Component is an instance of this type. It can have the following properties:

RouteParams

A map of parameters for a given route, passed as part of the ComponentInstruction to the Lifecycle Hooks, such as $routerOnActivate and $routerOnDeactivate.

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://code.angularjs.org/1.6.4/docs/api/ngComponentRouter/type

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部