@alibi-tech/vendy-widget-embed
v1.0.8
Published
Vendy vanilla JS embedded widget
Downloads
25
Readme
Vanilla JS Widget for Vendy Embeds
A simple script to handle messages from the iframe embed.
To embed a widget for a client, have them copy the snippet:
<script type="module" src='https://unpkg.com/@alibi-tech/vendy-widget-embed/index.js'></script>
<iframe frameBorder="0" width="100%" height="500px" id='vendy-widget' src="https://app.shopvendy.ca/embed/${embedId}" data-host="https://app.shopvendy.ca" />;