Chat Tab

Specific configuration parameters

ParameterDescription
activeTabsallows you to control what content to present in the application

chatTab: with this value, we will display only the chat view in the application.
supportChat.chatMemberNameAllows you to pass the support member name to chat

Usage Example

<!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/lsw.js"></script>
<script>
    const params = {
        job: "myJob",
        token: "myToken",
        container: "#instaleap-lsw-v3",
        activeTabs: 'chatTab',
      	supportChat: {
          chatMemberName: "Support name"
        }
    }
    window.instaleap.lsw.render(params)

</script>
</html>

Consider the following examples:

Chat Tab