API Endpoints

Step Cancel Icon

You can change the default "Icon" used in the order steps by setting them via URL parameter on each step.

Specific configuration parameters

ParameterDescription
stepCancelIconParameter used to change the icon of the Cancel step

Usage Example

You will see the following content

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