Creating a new instance of the mediator
Widget configuration
Additional properties/methods for the mediator You can specify an object with any properties, except for reserved ones (and properties starting with _):
Mediator identifier
Prefix used for data-attributes
Widget instances
Widgets
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
Define a widget
Widget configuration
Additional widget properties, this object is copied to the widget as is and supplements it with these properties
Factory that exports a facade available to the widget
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
Factory that exports a facade available inside an iframe
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
Generated using TypeDoc
Mediator - a widget factory