Accounts
Manage accounts authorized by the current user.

Configuration
Set up a new instance with config parameters and set/get methods:
const accounts = appmixer.ui.Accounts(config)
accounts.set(key, value)
accounts.get(key)config.el ...
config.el ...Instance
State
accounts.state(name, value)loader
loaderType: Boolean | Default: null
Toggle a custom loading state.
error
errorType: String | Default: null
Toggle a custom error message.
Events
accounts.on(event, handler)flow:open
flow:openaccounts.on('flow:open', flowId => {/* ... */})Select a flow to open in Designer widget.
Example
const accounts = appmixer.ui.Accounts({
el: '#accounts'
})
accounts.open()Last updated
Was this helpful?
