new WizardScene(id, optionsOrStep, …steps)
Wizard scene constructor
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
id | string | Wizard name, used for entering | |
optionsOrStep | object | Options | |
steps | Middleware | <repeatable> | Steps middlewares |
- Source
Extends
- BaseScene
Methods
middleware() → {Middleware}
Returns the middleware to embed
- Source
Returns:
- Type:
- Middleware