API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
typeSceneTransitionPhases
A `{ enter, exit }` pair of independently-authored PhasedSceneTransition instances - a union of two variants requiring at least one of `{ enter, exit }`, never an interface with both fields optional. An interface form would type-check `transition: {}` as valid, which - since a call-site value fully replaces the registry default - would silently suppress a scene's configured default while looking like a no-op. Confirmed, TypeScript `--strict`: the union form correctly rejects `{}` (see `test/type-tests/scene-transition-phases.type-test.ts`).
import { SceneTransitionPhases } from '@codexo/exojs'A `{ enter, exit }` pair of independently-authored PhasedSceneTransition instances - a union of two variants requiring at least one of `{ enter, exit }`, never an interface with both fields optional. An interface form would type-check `transition: {}` as valid, which - since a call-site value fully replaces the registry default - would silently suppress a scene's configured default while looking like a no-op. Confirmed, TypeScript `--strict`: the union form correctly rejects `{}` (see `test/type-tests/scene-transition-phases.type-test.ts`).
{ enter: PhasedSceneTransitionSingle-class `enter()`/`exit()` authoring layer over the full SceneTransition contract - covers the common case (fade, slide, wipe, a custom flash) with no nee…; exit?: PhasedSceneTransitionSingle-class `enter()`/`exit()` authoring layer over the full SceneTransition contract - covers the common case (fade, slide, wipe, a custom flash) with no nee… } | { enter?: PhasedSceneTransitionSingle-class `enter()`/`exit()` authoring layer over the full SceneTransition contract - covers the common case (fade, slide, wipe, a custom flash) with no nee…; exit: PhasedSceneTransitionSingle-class `enter()`/`exit()` authoring layer over the full SceneTransition contract - covers the common case (fade, slide, wipe, a custom flash) with no nee… }