Skip to content

lit-ui-router / TransitionControllerOptions

Interface: TransitionControllerOptions

Defined in: packages/lit-ui-router/src/transition-controller.ts:67

Options for TransitionController.

Properties

PropertyTypeDescriptionDefined in
callback?TransitionCallbackInvoked before host.requestUpdate() whenever an observed event fires, and once each time the host connects (see TransitionCallbackReason).packages/lit-ui-router/src/transition-controller.ts:96
criteria?HookMatchCriteriaHookMatchCriteria limiting which transitions notify the host. Defaults to {} (all transitions).packages/lit-ui-router/src/transition-controller.ts:83
events?TransitionEventType[]The transition lifecycle events to observe. Defaults to ['onSuccess'].packages/lit-ui-router/src/transition-controller.ts:90
router?UIRouterThe UIRouter instance to observe. When omitted, the controller discovers the router from an ancestor <ui-router> (or <ui-view>) via the ui-router-context event when the host connects.packages/lit-ui-router/src/transition-controller.ts:75