@open-iframe-resizer/angular
v2.2.0
Published
Open-source modern iframe resizer component
Maintainers
Readme
Open Iframe Resizer Angular
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!
Installation
npm install @open-iframe-resizer/angularSetup
Import the module in your Angular application:
import { IframeResizerDirective } from '@open-iframe-resizer/angular';
@Component({
selector: "app-root",
imports: [IframeResizerDirective, CommonModule],
templateUrl: "./app.component.html",
})Usage
Add the directive to your iframe:
<iframe
oirIframeResizer
src="/iframe-content.html"
></iframe>