Step picking
You can change the default "Title", "Help Text" and "Icon" used in the order steps by setting them via URL parameter on each step. The "Title" and "Help Text" configuration are being set in the "steps" attribute of the configuration object.
Implementation
Available parameters
Parameters lib | Parameters web | Description |
---|---|---|
steps.picking.title | stepPicking | String which will be used as display name during the Picking order step |
steps.picking.help | stepPickingHelp | String which will be used as display help text during the Picking order step |
steps.picking.icon | stepPickingIcon | Parameter used to change the icon of the Picking step |
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/status.js"></script>
<script>
const params = {
job: "myJob",
token: "myToken",
container: "#instaleap-lsw-v3",
steps: {
picking: {
title: 'Title to picking step',
help: 'Help text to picking step',
icon: 'Icon url',
}
},
}
window.instaleap.status.render(params)
</script>
</html>
https://xandar-lsw-v3.instaleap.io/status?job=myJob&token=myToken&stepPicking=text&stepPickingHelp=text&stepPickingIcon=url
Demo
NOTE: Please do not modify the Demo, this is a visual aid.
Updated 4 days ago