Fullview offers a number of custom events that you can listen to and build custom logic inside your own codebase.
Fullview dispatches the following custom events on window
, each of these events containing a callId
in the detail
field.
Event name | Description |
| This event is emitted when the agent initiates a request to start a cobrowsing session.
❗️If your customer opened your web application in multiple browser tabs, the event is emitted once per opened tab.
window.addEventListener('fullview:callRequested', event => { console.log('---> call requested', event.detail.callId); }); |
| The cobrowsing call was accepted by the customer.
Example: window.addEventListener('fullview:callAccepted', event => { console.log('---> call accepted', event.detail.callId); }); |
| The cobrowsing call was denied by the customer.
Example: window.addEventListener('fullview:callDenied', event => { console.log('---> call denied', event.detail.callId); }); |
| The cobrowsing call was ended either by the customer or the agent.
Example: window.addEventListener('fullview:callEnded', event => { console.log('---> call ended', event.detail.callId); }); |