JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3353
  • Score
    100M100P100Q127726F
  • License MIT

Vue component for creating dynamic async iframes

Package Exports

  • vue-friendly-iframe

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vue-friendly-iframe) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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

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.