Skip to main content

actions/openWidget

Functions

openWidget()

openWidget(config, loginParams?): Promise\<boolean>

Opens the widget if it is not already open. This will inject the widget into the DOM if it is not already present. This will authenticate the user if they are not already authenticated.

Parameters

config

The configuration

loginParams?: LoginParams

The login parameters

Returns

Promise\<boolean>

A promise that resolves when the widget is open