connect
: OverhypedAI(“connect”, widgetOptions?)
- This method allows you to programmatically show the OverhypedAI integration in your web app.
- Use the
connect
method only if you have setautoConnect
tofalse
in theinitOrg
command options. - Invoke this method whenever you want to display the OverhypedAI integration in your web app after using the
initOrg
andinitUser
commands.
autoConnect
is set to false
. Params:
Tag (Optional) is added for non-mandatory fields
widgetOptions: object
(Optional): Options to customize the widget.show: boolean
(Optional): Show/Hide the widget initially. 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.