API Endpoints

Header

Specific configuration parameters

📘

Hide elements value

  • Beware that as for now, values are logically inverted.
  • in order to display the element you set the string 'true', in order to hide, you set the value string 'false'.
  • Notice also that values are a string, not a boolean
ParameterDescription
hideElements.headerallows you to choose not to render the order header element of the application
default: "true"
options: "false: || "true"

Usage Example

Consider the following examples:

Hiding Header


<!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: {             
            header: 'false', 
        },
    }
    window.instaleap.lsw.render(params)
</script>
</html>