1.0.2 • Published 5 years ago

slider-helper-components v1.0.2

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

Slider helper

Published on webcomponents.org MIT License

It is "web components" where sliders can be used very easily.
There are only two settings required.
It also supports touch operation on mobile devices.

Preview

Image from Gyazo

Installation

$ npm i slider-helper-components

Usage

If you want to move automatically, describe "auto" attribute and describe the interval in "ms".
If you do not need to run it automatically, delete the "auto" attribute.

<script type="module">
  import './slider-helper-components/index.js'
</script>

<slider-helper
  images="./images/slide01.jpg, ./images/slide02.jpg, ./images/slide03.jpg, ./images/slide04.jpg"
  auto="3000"
>
</slider-helper>

License

MIT License

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago