Skip to content

StateToken

State token

Constructors

new StateToken()

new StateToken(idOrData, loadScreen?, …transitionSteps?): StateToken

Parameters

idOrData: string | object

loadScreen?: string

• …transitionSteps?: TransitionStep[]

Returns

StateToken

Source

src/state/StateToken.ts:22

Properties

data

readonly data: any

Source

src/state/StateToken.ts:20


loadScreen

readonly loadScreen: undefined | string

The load screen to use to transition to this state. Only needed for transitions involving a load screen.

Source

src/state/StateToken.ts:14


stateId

readonly stateId: string

The id of the state.

Source

src/state/StateToken.ts:10


transitionSteps

readonly transitionSteps: TransitionStep[]

The list of transition steps to perform.

Source

src/state/StateToken.ts:18