Hide 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
Parameter lib | Parameter web | Description |
---|---|---|
hideElements.header | header | allows 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/status.js"></script>
<script>
const params = {
job: "myJob",
token: "myToken",
container: "#instaleap-lsw-v3",
hideElements: {
header: 'false'
}
}
window.instaleap.status.render(params)
</script>
</html>
https://xandar-lsw-v3.instaleap.io/status?job=myJob&token=myToken&header=false
Updated 6 days ago