version: 1.1.7
This project was bootstrapped with iframe-resizer.
In the project directory, you can run:
`npm run build`
// client page
<script src="https://cdn.jsdelivr.net/npm/ds-iframe-widget/dist/ds-iframe-widget.js"></script>
// host page that is served in iframe
<script src="https://cdn.jsdelivr.net/npm/ds-iframe-widget/dist/ds-iframe-widget-content.js"></script>
<script src="https://cdn.jsdelivr.net/npm/ds-iframe-widget/dist/ds-iframe-widget.js"></script>
<script>
DsIframeWidget.init('#myIframe', {
baseUrl: "https://bing.com/",
});
</script>
<iframe id="myIframe" title="Iframe Widget"
frameborder="no" allowtransparency="true" allowfullscreen=""
style="display: block; width: 1px; min-width: 100%;"
scrolling="no"
>
</iframe>
<script src="https://cdn.jsdelivr.net/npm/ds-iframe-widget/dist/ds-iframe-widget.js"></script>
<script>
DsIframeWidget.init('#myButton', {
widgetMode: 'modal',
baseUrl: "https://bing.com/",
});
</script>
<button id="myButton">Mint on dropspace</button>