Protected ReadonlyapiProtected ReadonlyconfigProtectedelProtectediframeThe iframe element
ProtectedlistenersProtected ReadonlyuiNot required for AppWidget, as it uses url instead of uiPath
ProtectedurlThe app widget allows any origin defined in the config, so it does not have a uiPath
Emits a message to the iframe
The message definition
The payload to send
this
ProtectedhandleStops listening to a message from the iframe
The message definition
The handler to remove
this
Listens to a message from the iframe
The message definition
The handler to call when the message is received
this
ProtectedonLifecycle hooks for extending classes
The message event
Promise
Listens to a message from the iframe once
The message definition
The handler to call when the message is received
this
ProtectedpostProtectedpostProtectedpostProtectedpostProtectedpreProtectedpreProtectedpreProtectedpreProtectedresetSends a message to the iframe
The message to send
void
ProtectedtriggerTriggers all listeners for a given message type
The message type
The message envelope containing the payload
The SDK instance
The widget instance
The WidgetManager does handle creation and destruction of this widget under the hood. A widget that takes up the full screen, and is used to display different parts of the app.
See
TecsafeWidgetManager