1.1.0 • Published 5 years ago

vue-image-shadow v1.1.0

Weekly downloads
6
License
MIT
Repository
github
Last release
5 years ago

🌈 vue-image-shadow

A Vue image component. Simple realization of image shadow.

npm test-ci npm.io npm.io npm.io

📚 Example

Online: https://image-component.github.io/vue-image-shadow/

🌀 Template

https://github.com/one-template/vue-component-template

📦 Install

npm i vue-image-shadow
# or
yarn add vue-image-shadow

🎉 Usage

// main.js
import ImageShadow from 'vue-image-shadow'
Vue.component('image-shadow', ImageShadow)

📔 API

PropertyDescriptionTypeRequiredDefaultVersion
altThe alt of the image.string-1.1.0
classNameComponent extra class.string-1.0.0
shadowBlurThe shadow blur of the image.number201.0.0
shadowHoverWhether to support the mouse hover.booleanfalse1.0.0
shadowRadiusThe border radius of the image.number81.0.0
srcThe src of the image.string-1.0.0
widthThe width of the image.number3001.0.0

🔨 Development

yarn
yarn start

License

MIT

1.1.0

5 years ago

1.0.1

5 years ago

0.1.0

5 years ago

1.0.0

5 years ago

0.0.1

5 years ago