Class RouterOutlet

Custom element extending the HTMLSlotElement. When this element is constructed, it supplies the value of its baseHref attribute and the presence of a hashBased attribute on itself to the Router while Router.connecting the Router to itself. This element should only be used once, as it will be used by the Router as Router.outlet to render the current Router.State.

Example

A router-outlet:

<slot baseHref="/example" is="router-outlet">Loading...</slot>

See

Router

Hierarchy

Constructors

Properties

Accessors

Constructors

Properties

router: Router

Factored-in router property linking the Router.

Decorator

Factor

Accessors

Generated using TypeDoc