Skip to main content

Listeners and Events

Glyph loading​

This function triggers only when Glyph Chat is fully loaded. Once it's up, you'll be able to use the methods below.

function onGlyphChatApiReady() {
// Code after Glyph fully loaded
}

document.addEventListener("glyphChat-ready", onGlyphChatApiReady);

Events list​

Widget have other events using which you can subscribe with a listener.

EventTriggers when
readyGlyph is fully loaded
openThe chat window is open
closeThe chat window is closed