lit-ui-router / LitViewDeclarationElement
Interface: LitViewDeclarationElement<T>
Defined in: packages/lit-ui-router/src/interface.ts:291
A LitElement class used directly as a view declaration.
Extends
Type Parameters
| Type Parameter | Default type |
|---|---|
T extends DefaultResolvesType | DefaultResolvesType |
Constructors
Constructor
ts
new LitViewDeclarationElement(props): LitElement & {
_uiViewProps: UIViewInjectedProps<T>;
};Defined in: packages/lit-ui-router/src/interface.ts:291
Overloaded constructor that requires UIViewInjectedProps
Parameters
| Parameter | Type |
|---|---|
props | UIViewInjectedProps<T> |
Returns
LitElement & { _uiViewProps: UIViewInjectedProps<T>; }
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:272 |