Scenes

Classes

BaseScene
SceneContext
Stage
WizardContext
WizardScene
WizardScene

Type Definitions

StageOptions

The default scene is the scene that is entered when the user is not in another scene.

When you use custom name of session property or multiple sessions, you should configure sessionName

After TTL expired, all scene data stored in local session of scene be permanently removed

Type:
  • object
Properties
NameTypeAttributesDefaultDescription
sessionNamestring<optional>
'session'

Name of session property used for scenes, by default - session

defaultstring<optional>

Name of scene by default

ttlnumber<optional>

Time of life for scenes in seconds