vue-friendly-iframe
2021-12-28 14:22:3 Author: github.com(查看原文) 阅读量:26 收藏

master
Switch branches/tags

1 branch 12 tags

Code

This branch is up to date with master.

Contribute
  • This branch is not ahead of the upstream master.

    No new commits yet. Enjoy your day!

Vue js component for creating dynamic async iframes based on Aaron Peter's article: http://www.aaronpeters.nl/blog/iframe-loading-techniques-performance

npm version

Documentation

https://officert.github.io/vue-friendly-iframe

Demo

https://officert.github.io/vue-friendly-iframe

Requirements

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.


文章来源: https://github.com/y35uishere/vue-friendly-iframe
如有侵权请联系:admin#unsafe.sh