Sub Steps Icon Inactive Pick & Collect
You can change the default "Icon" used in the order substeps by setting "icon" parameter on each step.
The "Icon" configuration are being set in the "substeps" attribute of the configuration object.
Parameters lib | Parameters web | Description |
---|---|---|
substeps.picking.IconInactive | subStepPickingIconInactive | String with an URL which will be used as display icon in the Picking order substep when substep is inactive |
substeps.readyForPickup.IconInactive | subStepPickedUpIconInactive | String with an URL which will be used as display icon in the Ready For Pickup order substep when substep is inactive |
substeps.pickedUp.IconInactive | subStepReadyToPickupIconInactive | String with an URL which will be used as display icon in the PickedUp order substep when substep is inactive |
Usage Example
Consider the following 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/status.js"></script>
<script>
const params = {
job: "myJob",
token: "myToken",
container: "#instaleap-lsw-v3",
substeps: {
picking: {
iconInactive: 'url'
},
readyForPickup: {
iconInactive: 'url'
},
pickedUp: {
iconActive: 'url',
},
}
}
window.instaleap.status.render(params)
</script>
</html>
https://xandar-lsw-v3.instaleap.io/status?job=myJob&token=myToken&subStepPickingIconInactive=url&subStepReadyToPickupIconInactive=url&subStepPickedUpIconInactive=url
Note: Not change the example.
Updated about 8 hours ago