This module includes the iframe resizer module. Add a class of
js-iframe-resize to your iframe to automatically resize iframes based on their content.
You will need to include the content window script on the page with the content.
N.B. This uses the native script, so
iframe must be a DOM node. If it's a jQuery object, use
.get(0) to get the DOM node.
Read the documentation for all the options.
- iframe - (DOM node) the iframe to resize.