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:
![Screen Shot 2022-12-23 at 3.12.00 PM.png](https://files.readme.io/7de59f9-Captura_de_pantalla_2024-01-23_a_las_7.50.31_p._m..png)
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: