---
url: >-
  https://lit-ui-router.dev/v1/reference/lit-ui-router/controllers/TransitionControllerOptions.md
---
[lit-ui-router](../index.md) / TransitionControllerOptions

# Interface: TransitionControllerOptions

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

Options for [TransitionController](TransitionController.md).

## Properties

| Property | Type | Description | Defined in |
| ------ | ------ | ------ | ------ |
|  `callback?` | [`TransitionCallback`](TransitionCallback.md) | Invoked before `host.requestUpdate()` whenever an observed event fires, and once each time the host connects (see [TransitionCallbackReason](TransitionCallbackReason.md)). | packages/lit-ui-router/src/transition-controller.ts:102 |
|  `criteria?` | [`HookMatchCriteria`](https://ui-router.github.io/core/docs/latest/interfaces/_transition_interface_.hookmatchcriteria.html) | [HookMatchCriteria](https://ui-router.github.io/core/docs/latest/interfaces/_transition_interface_.hookmatchcriteria.html) limiting which transitions notify the host. Defaults to `{}` (all transitions). | packages/lit-ui-router/src/transition-controller.ts:89 |
|  `events?` | [`TransitionEventType`](TransitionEventType.md)\[] | The transition lifecycle events to observe. Defaults to `['onSuccess']`. | packages/lit-ui-router/src/transition-controller.ts:96 |
|  `router?` | [`UIRouter`](https://ui-router.github.io/core/docs/latest/classes/_router_.uirouter.html) | The [UIRouter](https://ui-router.github.io/core/docs/latest/classes/_router_.uirouter.html) instance to observe. When omitted, the controller discovers the router from an ancestor \<ui-router> (or \<ui-view>) each time the host connects, and follows the placeholder router a \<ui-router> mints for itself to the one that replaces it, synchronizing again with the `'hostConnected'` reason. | packages/lit-ui-router/src/transition-controller.ts:81 |
