Skip to content

v1.2.0

Compare
Choose a tag to compare
@Lemick Lemick released this 11 Nov 16:56
· 12 commits to main since this release

What's Changed

  • [FEATURE] Allow scroll update on resize by @Lemick in #6
  • [CHORE] Remove engine limit

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