@open-iframe-resizer/core
v2.1.0
Published
Open-source modern iframe resizer
Maintainers
Readme
Open Iframe Resizer
Overview
A modern, lightweight alternative for resizing iframes dynamically. It is shipped under the MIT license, making it usable in commercial projects.
If you found this project helpful, please consider starring the repository!
Getting Started
Browser (ES6 modules)
<script type="module">
import { initialize } from "https://cdn.jsdelivr.net/npm/@open-iframe-resizer/[email protected]/dist/index.min.js";
initialize({}, "#my-iframe");
</script>You can found a working example here
Package
Note you can also install the core package through npm:
npm install @open-iframe-resizer/coreReact
npm install @open-iframe-resizer/reactVue
npm install @open-iframe-resizer/vueFull documentation
Explore the full documentation
Browser support
| Chrome | Safari | Firefox | Opera | IE | |--------|--------|---------|-------|-------| | 64+ | 13.1+ | 69+ | 51+ | 🙅♂️ |
