lit-ui-router / UiView
Class: UiView
Defined in: packages/lit-ui-router/src/ui-view.ts:79
Slots
- default —
<ui-view>renders slotted content as fallback whenever no routed component is active.
Events
ui-router-context— This event is fired to obtain theuiRouterinstance, when not directly provided. Once obtained, the<ui-view>listens and provides theuiRouterto descendants.ui-view-context— This event is fired to obtain the parent<ui-view>.
Extends
Properties
| Property | Type | Default value | Description | Defined in |
|---|---|---|---|---|
name | string | '' | the view name this viewport fills; empty selects the $default view | packages/lit-ui-router/src/ui-view.ts:82 |
uiRouter | UIRouterLit | undefined | <ui-view> can be used without <ui-router> by providing the uiRouter property directly. | packages/lit-ui-router/src/ui-view.ts:89 |