officert / Vue Friendly Iframe
A Vue js component for creating super fast loading, non-blocking iframes.
Stars: ✭ 239
Labels
vue-friendly-iframe
Vue js component for creating dynamic async iframes based on Aaron Peter's article: http://www.aaronpeters.nl/blog/iframe-loading-techniques-performance
Documentation
https://officert.github.io/vue-friendly-iframe
Demo
https://officert.github.io/vue-friendly-iframe
Requirements
- Vue.js (^v2.1.4)
Installation
Vue Support
Supports on Vue >= 2
Installation and Usage
npm install vue-friendly-iframe --save-dev
import Vue from 'vue';
import VueFriendlyIframe from 'vue-friendly-iframe';
Vue.use(VueFriendlyIframe);
Add the component to your HTML:
<vue-friendly-iframe :src="example1Form.src" @load="onLoad"></vue-friendly-iframe>
Contributing
Pull requests are welcome, or open up an issue if you have ideas for additional functionality, new features or bugs.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].