API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

T

typeSceneTransitionPhases

@codexo/exojs / core / stable

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`).

0
props
0
methods
0
events
Import
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`).

Definition1
Source