Initialization
Adding HTML element for Wishi to mount on
Script params - The script parameters can be changed by the developer.
Initiator Example
wishi-key
the key you have been supplied by Wishi support team.
wishi-plugin-env
feel free to use either staging
or production
Once the script is loaded, the plugin will be available in window.WishiChat
.
Register and listen to
item-clicked
events.Stop the client by calling
wishiSDK.unmount()
.unmount
closes the connection to Wishi and unmounts the plugin from the element provided on initialization
Last updated