lit-ui-router / LitViewDeclarationElement
Interface: LitViewDeclarationElement
Defined in: packages/lit-ui-router/src/interface.ts:260
A LitElement class used directly as a view declaration.
Extends
Constructors
Constructor
ts
new LitViewDeclarationElement(props?): LitElement & {
_uiViewProps?: UIViewInjectedProps<Record<string, any>>;
};Defined in: packages/lit-ui-router/src/interface.ts:260
Constructor that accepts optional UIViewInjectedProps
Parameters
| Parameter | Type |
|---|---|
props? | UIViewInjectedProps<Record<string, any>> |
Returns
LitElement & { _uiViewProps?: UIViewInjectedProps<Record<string, any>>; }
Inherited from
Properties
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
sticky? | boolean | If true, the same component instance is reused across state transitions | RoutedLitElement.sticky | packages/lit-ui-router/src/interface.ts:243 |