JavaScript API
Method
Description
Parameters
Return Type
Type Definitions
type ToolEntry = {
/**
* Tool id
*
* @readonly
* @type {string}
*/
readonly id: string;
/**
* Tool type
*
* @readonly
* @type {ToolType}
*/
readonly type: ToolType;
/**
* Tool display name
*
* @readonly
* @type {string}
*/
readonly title: string;
/**
* Indicates if this is the only tool of this type that may exist
*
* @readonly
* @type {boolean}
*/
readonly isSingleton: boolean;
};
/**
* Types of engagement tools:
* - Live Chat ('tool-livechat')
* - Knowledge Library ('tool-knowledge-library')
* - Booking Calendar ('tool-booking-calendars')
* - Link Launcher ('tool-link-launcher')
* - Form/Survey ('tool-form-survey')
* - Webchat ('tool-webchat')
* - Reviews ('tool-reviews')
* - Extendly for HighLevel ('tool-support-chat')
* - TawkTo Livechat ('tool-tawkto')
* - Video Showcase ('tool-video-showcase')
* - Dedicated iFrame ('tool-dedicated-iframe')
* - Custom HTML ('tool-html')
* - Rich Content ('tool-rich-content')
*
* @export
* @typedef {ToolType}
*/
type ToolType =
| 'tool-livechat'
| 'tool-knowledge-library'
| 'tool-booking-calendars'
| 'tool-link-launcher'
| 'tool-form-survey'
| 'tool-webchat'
| 'tool-reviews'
| 'tool-support-chat'
| 'tool-tawkto'
| 'tool-video-showcase'
| 'tool-dedicated-iframe'
| 'tool-html'
| 'tool-rich-content';JavaScript API Examples
Completely hide the Engagement Widget
Show the Engagement Widget again after it's been hidden
Open the main Engagement Widget panel
Close the main Engagement Widget panel
Toggle visibility of the main Engagement Widget panel
Hide all Welcome Messages
Show Welcome Messages visible again
Last updated