Hide Chat with support
Allows to hide the specified chat tab. Note: To activate the chat you must click on the tab title.
Below we have a screenshot of what the feature looks like:
Implementation
Available parameters
Parameter Lib | Parameter Web | Description |
---|---|---|
hideElements.chatWithSupport | hideChatWithSupport | Allows to show or hide the chat with the Support default: "false" options: "false: || "true" |
Code
<!DOCTYPE html>
<head>
<title>LSW v3 Embed</title>
</head>
<body>
<div id="instaleap-lsw-v3"></div>
</body>
<script src="https://xandar-lsw-v3.instaleap.io/lib/chat.js"></script>
<script>
const params = {
job: "myJob",
token: "myToken",
container: "#instaleap-lsw-v3",
hideElements: {
chatWithSupport: true
}
}
window.instaleap.chat.render(params)
</script>
</html>
https://xandar-lsw-v3.instaleap.io/chat?job=myJoB&token=myToken&hideChatWithSupport=true
Demo
NOTE: Please do not modify the Demo, this is a visual aid.
Updated 10 days ago