Step Cancel
You can change the default "Title" and "Help Text" 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.
Specific configuration parameters
Parameter | Description |
---|---|
steps.cancel.title | String which will be used as display name during the Cancel order step |
steps.cancel.help | String which will be used as display help text during the Cancel order step |
Cancel 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",
steps: {
cancel: {
title: 'Title to cancel step',
help: 'Help text to cancel step'
}
},
}
window.instaleap.lsw.render(params)
</script>
</html>
You will see the following content: