Parameters | description |
---|---|
customTexts.deliveryCodeText | Parameter to customize text Delivery code |
customTexts.deliveryMainText | Parameter to customize the text Give this code to the delivery man to receive your order... in the information modal in delivery code component |
Usage Example
Consider the following examples:
URL 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/lsw.js"></script>
<script>
const params = {
job: "myJob",
token: "myToken",
container: "#instaleap-lsw-v3",
customTexts:{
deliveryCode: "delivery code custom",
deliveryMainText: "Custom modal information text",
}
}
window.instaleap.lsw.render(params)
</script>
</html>
You will see the following content: