Vue js component for creating dynamic async iframes based on Aaron Peter’s article.
Requirements
- Vue.js (^v2.1.4)
Step 1: Installation and Usage
npm install vue-friendly-iframe --save-dev
Step 2: Use:
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>
Documentation
Find documentation here.
Demo
Find demo here.
Reference
Below are the reference links:
No. | Link |
---|---|
1. | Read more here. |
2. | Follow code author here. |