lit-ui-router / TransitionControllerOptions
Interface: TransitionControllerOptions
Defined in: packages/lit-ui-router/src/transition-controller.ts:67
Options for TransitionController.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
callback? | TransitionCallback | Invoked 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? | HookMatchCriteria | HookMatchCriteria 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? | UIRouter | The 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 |