1.0.2 • Published 3 years ago

@borderguru/slider v1.0.2

Weekly downloads
37
License
-
Repository
-
Last release
3 years ago

@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>