Accounts
Last updated
Last updated
The appmixer.ui.Accounts is a UI widget that displays the user's connected accounts.
Method
Description
appmixer.ui.Accounts(config)
Constructor function that accepts config
object. The config
object must contain at least the el
property that points to a container DOM element where the Accounts will be rendered.
open()
Render the Accounts inside its container.
close()
Close the Accounts.
on(event, handler)
React on events of the accounts widget. See below for the list of events the accounts widget supports.
off([event, handler])
Remove event listeners. If no arguments are provided, remove all event listeners. If only the event
is provided, remove all listeners for that event. If both event
and handler
are given, remove the listener for that specific handler only.
reload()
Refresh the Accounts.
Event
Callback
Triggered when...
flow:open
function(flowId)
the user clicks to open a flow the account is associated with.