Banner
This parameter allows you to display a promotional banner
Parameter lib | Parameter Web | Description |
---|---|---|
banner.mobileImg | bannerMobileImg | Send the url of the promotional banner in mobile (optional) By default nothing is shown |
banner.desktopImg | bannerDesktopImg | Send the url of the promotional banner in desktop (optional) By default nothing is shown |
<!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/chat.js"></script>
<script>
const params = {
job: "myJob",
token: "myToken",
container: "#instaleap-lsw-v3",
banner: {
mobileImg: "url",
desktopImg: "url",
}
}
window.instaleap.chat.render(params)
</script>
</html>
https://xandar-lsw-v3.instaleap.io/chat?job=myJoB&token=myToken&bannerDesktopImg=url&bannerMobileImg=url
Updated 8 days ago