
Gleap.showAiChatbar()
Show the chatbar.
Gleap.hideAiChatbar()
Hide the chatbar.
Gleap.setAiChatbarQuickActions(quickActions)
Set the suggested action buttons shown above the input.
Gleap.setAiChatbarPlaceholder(placeholder)
Override the input placeholder text.
Customizing the appearance
The chatbar renders inside a Shadow DOM for style isolation. Override styles from outside using CSS::part(). The host element has class gleap-ai-ui-widget.