Methods
connect - Connects the User
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.
Connects the user to OverhypedAI. This is used only when autoConnect
is set to false
. Params:
Tag (Optional) is added for non-mandatory fields
widgetOptions: object
(Optional): Options to customize the widget.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.