Banner

This parameter allows you to display a promotional banner

ParameterDescription
banner.mobileImgSend the url of the promotional banner in mobile (optional)

By default nothing is shown
banner.desktopImgSend 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/lsw.js"></script>
<script>
    const params = {
        job: "myJob",
        token: "myToken",
        container: "#instaleap-lsw-v3",                 
        banner: {
          mobileImg: "https://placehold.co/300x80",
          desktopImg: "https://placehold.co/800x80",
        },
    }
    window.instaleap.lsw.render(params)
</script>
</html>