Widget Component
Purple Experience
The Widget component can be used to display generic widgets that require injecting HTML and resources (script, style) directly into the DOM. Examples of such Widgets are 'weekli' or 'outbrain'.
Configure the widget library within the 'generic-widget.json' file of the dynamic resources. For detailed instructions on how to configure, please refer to this documentation.
The widget Component can be configured in any view in the views.json.

Field | Description |
name* | Specify library name |
widgetId* | Specify the ID for the widget from the library. |
bidirectionalRouter | Bidirectional feature parameter for the widget: When activated, this feature facilitates bidirectional routing communication between the Experience and the widget. (An example can be found in the HZ app.) |
* = required field