window.AnimamChat object and dispatches a single DOM event, animam:ready, when it is available. Everything else goes through AnimamChat.on().
Waiting for the widget
animam:ready is the only DOM CustomEvent the widget dispatches. Widget events (below) are not DOM events — subscribe with AnimamChat.on().
Methods
destroy() and no setSegment(): the segment is fixed per page via the data-segment attribute (see Segments), and removing the widget means removing the script tag.