vue-image-shadow
A Vue image component. Simple realization of image shadow.
? Install
? Usage
? API
Property | Description | Type | Required | Default |
---|---|---|---|---|
className | Component extra class. | string | ✖ | - |
shadowBlur | The shadow blur of the image. | number | ✖ | 20 |
shadowHover | Whether to support the mouse hover. | boolean | ✖ | false |
shadowRadius | The border radius of the image. | number | ✖ | 8 |
src | The src of the image. | string | ✔ | - |
width | The width of the image. | number | ✖ | 300 |