setState
Used to get the state of the hosting entity (a page where an app is embedded or the widget containing an iframe)
Syntax
import messageHandler from '@vcita/intandem-app-com';
// ...initialize the handler
messageHandler.setState("Ready").then(function(state){//do something});
Parameters
state
WidgetState:
Available states
State | Description |
---|---|
ready | The widget is ready to accept the init object |
Updated about 2 months ago