Skip to content

lit-ui-router / TransitionCallbackReason

Type Alias: TransitionCallbackReason

ts
type TransitionCallbackReason = TransitionEventType | 'hostConnected';

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

The reason a TransitionController invoked its callback.

Either one of the observed TransitionEventType hooks fired, or the host element (re)connected to the DOM and the controller synchronized with the router's current state ('hostConnected').