Wizard
Manage a flow that is used as an integration instance.
Last updated
Was this helpful?
Manage a flow that is used as an integration instance.
Last updated
Was this helpful?
Was this helpful?
const wizard = appmixer.ui.Wizard(config)
wizard.set(key, value)
wizard.get(key)wizard.state(name, value)wizard.on(event, handler)wizard.on('flow:open', flowId => {/* ... */})wizard.on('cancel', () => {/* ... */})const wizard = appmixer.ui.Wizard({
el: '#wizard',
flowId: 'your-integration-id'
})
wizard.on('flow:start', async flowId => {
await appmixer.api.startFlow(flowId)
wizard.close()
})
wizard.open()