Image

GITHUB

This is image (normal and image slider) component.


Code:

  
HTML
<!-- Single Src --> <fvImg src="path/to/source.jpg" /> <!-- Multiple Src --> <fvImg :src="['path/to/source.jpg', 'path/to/source2.jpg']" />

Examples:

Image Test

Image One

Image One

API:

NameTypeDefaultDescription
src
String or Array
---
Image source or list of image sources.
alt
String or Array
---
Alt of image. If src prop is list of images, you can use list of alts here.
showButtons
Boolean
true
Show next/prev buttons on next to slider.
interval
Number
0
Miliseconds time to automatic change the slide. If it's 0, it does not apply.