Hi,
I need help on a custom onClose for Chat for Service Desk
I want to trigger an event when users close the Chat for Service Desk
What is the "on close" event I should be listening to?
Cheers
To trigger an event when users close the Chat for Service Desk, listen for the on Close
event in your chat widget. Use the following code
chatWidget.on('close', function() {
console.log('Chat has been closed!');
});
Thanks for that Peter, will give that a go
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.