Creating a new widget instance
Mediator
Widget identifier
Widget configuration
Widget properties, this object is copied as is into the widget and supplements it with these properties
Some external parameters for the widget. You can specify an object with any properties, except for reserved ones (and properties starting with _):
Widget configuration
Widget identifier
Widget name
External parameters for the widget
Widget properties
Set a container for the widget
Create an iframe
The URL where the iframe is located
A factory that exports the facade available to the external user
Destroy the widget and stop listening events
A factory that exports the facade available in the iframe
Destroy the widget and stop listening events
Create a widget and place it on the page
Widget name
Element/selector where the widget will be inserted
Optional
params: Record<string, any>Widget initialization parameters
Create a widget and place it on the page
Widget name
Optional
params: Record<string, any>Widget initialization parameters
Initialization of DOM elements
Scroll to a specific part of the iframe
The coordinate relative to the top-left corner of the iframe to scroll to
Scroll animation time, default is 200
Callback for iframe viewport change (whether the iframe is visible or not)
Wait when the container enters the viewport from the top
Generated using TypeDoc
Widget
destroy Widget deletion event