window
object in JavaScript that can be listened for and reacted to. Some of these events will get triggered by calls to the ServiceBell JavaScript API, but they can also be triggered by visitor interaction with the widget, or by admins interacting with visitors via the ServiceBell dashboard.sb:callstart
event will be fired whenever a call is accepted by a visitor, and you can listen for these events like so:sb:initialized
sb:error
event.detail
.sb:expand
ServiceBell.expand()
.sb:collapse
ServiceBell.collapse()
.sb:callaccept
sb:callreject
sb:dialstart
ServiceBell.dial()
sb:dialcancel
sb:dialmiss
sb:callstart
sb:callend