Skip to content

Custom elements ​

The custom elements lit-ui-router defines, as its Custom Elements Manifest records them: each element's properties, attributes, methods, events, slots and CSS parts. The manifest ships in the package as lit-ui-router/custom-elements.json, the file editors and documentation tools read.

Each element's class has a page in the API reference with its full type signatures, and Entry Points on the package page covers the imports that define the elements.

Elements ​

  • <ui-view> (UiView) — This is the <ui-view> component.
    • Properties: name, uiRouter, routedElement
    • Attributes: name
    • Slots: default
    • Events: ui-router-context, ui-view-context
  • <ui-router> (UIRouterLitElement) — This is the root ui-router component.
    • Properties: uiRouter
    • Methods: seekRouter
    • Slots: default
    • Events: ui-router-context

Viewer ​

The same manifest, one element at a time, with each member's type and description.