Skip to content
This repository has been archived by the owner on Dec 28, 2018. It is now read-only.

eduardostuart/vue-image-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vue Image Loader

Async image loader plugin for Vue.js

Demo

Live demo

Installation

npm install vue-image-loader --save

Usage

// Default timeout: 2 (optional)
Vue.use(require('vue-image-loader'),{
    timeout:2
}); // or Vue.use(window.VueImageLoader)
<image-loader
    src="myimage.gif"
    alt="Awesome!">
</image-loader>

Check /examples for more

License

MIT © Eduardo Stuart