TransitionApi interface
The `transition` service: call it with a swap to fly copies between pages.
On this page
import type { TransitionApi } from '@dioramajs/diorama/transitions'TransitionApi(swap: Swap, options?: TransitionOptions): TransitionParameters
| Name | Type | Description |
|---|---|---|
swap | Swap | |
options? | TransitionOptions |
Members
| Name | Type | Description |
|---|---|---|
readonly current | ReadonlySignal<Transition | undefined> | The running transition, if any. |
readonly page | PageScope | The current page. Closed right after the next swap. |
Also exported from @dioramajs/transitions.
Defined in packages/transitions/src/types.ts.