@open-iframe-resizer/vue
v2.3.1
Published
Open-source modern iframe resizer component
Downloads
786
Maintainers
Readme
Open Iframe Resizer Vue
Overview
iframe-resizer is a modern, lightweight library for resizing iframes dynamically. It is shipped under the MIT license, making it usable in commercial projects.
If you found this plugin helpful, please consider starring the repository!
Getting Started
Install the package:
npm install @vvopen-iframe-resizer/vueWrap your iframes with it to resize them automatically:
import { createApp } from "vue";
import { IframeResizer } from "@vvopen-iframe-resizer/vue";
const app = createApp({
components: {
IframeResizer,
},
template: `
<div>
<IframeResizer src=""https://github.com" />
</div>
`,
}).mount("#app");