updateOptions
: OverhypedAI(“updateOptions”, config)initUser
or connect
(If autoConnect: false
is provided in initOrg
).initOrg
, initUser
and connect
(If autoConnect: false
is provided in initOrg
) commands.config: object
: Target and options to update.
target: "widget"
: The target to update the options for. Currently only ‘widget’ is supported.options: Partial<OverhypedAIWidgetOptions>
: The options to update.
show: boolean
(Optional): Show/Hide the widget. This has no effect on the modal.positionOffset: object
(Optional): Adjust the position of the widget relative to it’s initial position.
x: number | string
(Optional): X-axis offset.y: number | string
(Optional): Y-axis offset.