Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Action

Definition of a single route.

Hierarchy

  • Action

Index

Properties

component

component: IComponent

The component that is being lodaed into the outlet.

Optional data

data: {}

A data field that the router can retrieve on request. It's just a common way to transport private data. The field is not being used internally.

Type declaration

  • [name: string]: any

Optional forced

forced: boolean

Rewrites a component even if already set. This is useful if the rendering of the component is dynamic and changes with the actual path. In that case one can set several paths' with the very same component. The default ist false and the selector is being cached.

default

false

Optional map

map: {}

Maps a path parameters, written as ':id' for example, into an observed attribute. Without mapping, the parameters appear in a protected property routerParams. That field always exists and is supported by the IRouterParams interface.

Type declaration

  • [name: string]: string

Optional outlet

outlet: string

The outlet that is choosen. Can be omitted, if there is only one outlet in the app. As there is no default outlet, the name must be provided, if there a re more outlets.

Generated using TypeDoc