v1.2.0
What's Changed
New features
You can execute a custom function after an iframe has been resized. Also, you can use built-in functions
like updateParentScrollOnResize
to help keep the iframe within the viewport after resizing:
import { initialize, updateParentScrollOnResize } from "https://cdn.jsdelivr.net/npm/@open-iframe-resizer/core@v1.2.0/dist/index.min.js";
initialize({ onIframeResize: updateParentScrollOnResize }, "#myIframe");
Full Changelog: v1.1.3...v1.2.0