vue-friendly-iframe
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.
Dependencies
Dependencies
autoprefixer: ^6.7.7babel-cli: ^6.26.0babel-core: ^6.26.0babel-eslint: ^8.0.3babel-loader: ^7.1.2babel-plugin-add-module-exports: ^0.2.1babel-plugin-transform-runtime: ^6.23.0babel-preset-env: ^1.6.1babel-preset-es2015: ^6.24.1babel-preset-stage-2: ^6.24.1chai: ^4.1.2css-loader: ^0.28.11deep-assign: ^2.0.0eslint: ^4.13.1eslint-loader: ^1.9.0eslint-plugin-vue: ^4.5.0extract-loader: ^2.0.1extract-text-webpack-plugin: ^3.0.2less: ^3.0.4less-loader: ^4.1.0mocha: ^4.0.1promise-polyfill: ^8.0.0rimraf: ^2.6.1style-loader: ^0.21.0vue: ^2.5.16vue-router: ^2.5.3vue-loader: ^11.3.3vue-style-loader: ^3.0.0vue-template-compiler: ^2.2.6webpack: ^3.10.0webpack-dev-server: ^2.7.1yargs: ^10.0.3