Skip to content

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

ParameterType
props?UIViewInjectedProps<Record<string, any>>

Returns

LitElement & { _uiViewProps?: UIViewInjectedProps<Record<string, any>>; }

Inherited from

RoutedLitElement.constructor

Properties

PropertyTypeDescriptionInherited fromDefined in
sticky?booleanIf true, the same component instance is reused across state transitionsRoutedLitElement.stickypackages/lit-ui-router/src/interface.ts:243