Optional PromiseURL pointing to root of embedded application, e.g. if template is at
https://www.bar.foo/template, then baseUrl should be
https://www.bar.foo.
Optional customCustom named values (such as customizable colors) sent to the views.
Optional initializationTimeout from when view is created, and all scripts are loaded. If the
view is not responsive before this, onError is invoked with a load
error.
Value is in milliseconds.
Default is 10000 milliseconds.
Optional language?: string | nullLanguage to be used by all bridge views as a BCP-47 string.
Callback invoked whenever BridgeViews need an authentication token.
Takes the current language-tag as first parameter. Can either return a promise or invoke a node-style callback provided as second parameter to signal completion.
Three cases are supported:
null.The current language tag, provided for convenience.
node-style callback – (error, result) => void
Generated using TypeDoc
Promise implementation to be used. Defaults to native promises, which requires a polyfill to work in any Internet Explorer.
Can be replaced with another implementation, such as
QorBluebird.nulldisables promises returned from functions.