API Endpoints

Hide Chat Tab With Driver

Specific configuration parameters

ParameterDescription
hideElements.chatWithDriverAllows you to choose not to render the Driver Tab Chat during the specific step "Going To Destination"
NOTE: This Param does not affect the visualization of the chat in any other steps.
default: "true"
options: "false: || "true"

Usage Example


Consider the following examples:

Hiding Driver Chat While in "Going To Destination" Step

<!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",       
        hideElements: {             
            chatWithDriver: true
        },
    }
    window.instaleap.lsw.render(params)
</script>
</html>