Step Going To Destination

📘

Library mode params Encoding

In library mode, the configuration is set in the "steps” attribute.

📘

URL Params Encoding

In web mode, you can change the default “Title” used in the order steps by configuring them through the URL parameter in each step

Remember that we require to comply with (UTF-8) encoding when sending query params. so that if your custom name string has whitespace, you should replace it with the symbol "%20".

ie: "stepGoingToDestination=Custom title to Going To Destination step" => stepGoingToDestination=Title%20to%20going%20to%20destination%20step"

Specific configuration parameters

Parameter LibParameter WebDescription
steps.goingToDestination.titlestepGoingToDestinationString which will be used as display name during the Going To Destination order step

Usage Example

You will see the following content

<!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/step.js"></script>
<script>
    const params = {
        job: "myJob",
        token: "myToken",
        container: "#instaleap-lsw-v3",
        steps: {
            goingToDestination: {
                title: 'Title to going to destination step',
            }
        },
    }
    window.instaleap.steps.render(params)
</script>
</html>
https://xandar-lsw-v3.instaleap.io/steps?job=myJoB&token=myToken&stepGoingToDestination=Title%20to%20going%20to%20destination%20step

You will see the following content: