Chat Gadget as a web component
Download the index.html and scripts.js files and open the index.html in browser.
The scripts.js file will build and load the chat-widget web component. This component will listen to following events and are customizable
- chat-message-receive
- chat-widget-activate
- chat-widget-expand
- chat-widget-collapse
Also, the component will emit following events
- chat-message-send