@borderguru/slider
v1.0.2
Published
hermes image slider
Downloads
13
Readme
@borderguru/slider
This web component is the Hermes' image gallery. It would display an array of images with a fixed frequency.
Properties
- content: Array objects which has the paths to the images
- current (default 0): Index to start the carrousel
- timeout (default 5000ms): Amount of time (in milliseconds) that each image is going to be displayed
Example
<hermes-slider
content='[{"src":"path to image"}, {"src":"path to image"}'
></hermes-slider>