0.2.8-rc.1 • Published 4 years ago

async-responsive-iframe v0.2.8-rc.1

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

Async-responsive-iframe

This script will attach to a DOM node with a data-ref attribute of "async-responsive-iframe" value an iframe pointing to the provided data-url value.

<div data-ref="async-responsive-iframe" data-url="https://your.iframe.url"></div>

It will also:

  • style the iframe with no border and a 100% width
  • use iframeResizer to style the height of the iframe to match the children document.
  • communicate to the iframe using the postMessage API to send over the following data attributes mail, countries, theme, site, group as a data object.

Usage

<div data-ref="async-responsive-iframe" data-url="https://your.iframe.url"></div>
<script src="https://cdn.jsdelivr.net/npm/async-responsive-iframe@0.2.5"></script>
0.2.8-rc.1

4 years ago

0.2.7

5 years ago

0.2.6

5 years ago

0.2.6-rc.1

5 years ago

0.2.5

5 years ago

0.2.5-rc1

5 years ago

0.2.4

5 years ago

0.2.4-rc.1

5 years ago

0.2.3

5 years ago

0.2.2-rc.1

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.3-rc.test

5 years ago

0.1.3-rc.2

5 years ago

0.1.3-rc.1

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.0

5 years ago