Interface IWidgetConfig<F>

Type Parameters

Hierarchy

  • IWidgetConfig

Properties

features?: F

Enable/disable and configure features Modifying the features will override the backend and Config!IConfig features.

Remarks

If Feature is not enabled for the license it cannot be enabled via this api.

host?: string | HTMLElement

If provided the discusion widget will be embedded inside the host element instead of as overlay The size of the widget will be responsive and set to 100% width and height of the host element.

player: IPlayerConfig<unknown>

Player setup

positionElement?: string | HTMLElement

If provided, the widget will be positioned relative to this element instead of the player element

timeline?: ITimelineConfig

Timeline configuration

Configuration options that affect the user experience. Overrides any backend and Config!IConfig ux settings.