Web SDK
Events
Listen for lifecycle events from the widget.
Browser events
whazzup:readyThe iframe is ready and queued commands can run.
whazzup:openThe visitor opened the support panel.
whazzup:closeThe visitor closed the support panel.
Example
window.addEventListener('whazzup:ready', () => {
console.log('Whazzup is ready')
})