Skip to content

leepyng/vue2-image-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

vue2-image-loader

a image loader component for vue2

Coverage Status

install

npm install vue2-image-loader --save-dev

how to use

template:
	<ImgLoader :defaultImgUrl="'error.png'" :imgUrl="imgurl" />

script:
	//import
	import ImgLoader from 'vue2-image-loader'
	//define
	components:{
		ImgLoader
	}

props description

defaultImgUrl:a default image if the target image can't load
imgUrl:target image to load

About

a image loader component for vue2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages