vj-auto-carousel

1.0.1 • Public • Published

vj-auto-carousel

To generate carousel based on container element count.

Install

 npm install vj-auto-carousel -S

Usage

<vj-auto-carousel length="5">
    <div slot="default">
        Hello this is default text.
    </div>
</vj-auto-carousel>
<style>
 :root {
    --default-carousel-bg-color: #fff;
    --selected-carousel-bg-color: #fdabe9;
 }
</style>

Attributes

length

Accepts elements count value residing within a container html element.

default slot

For custom message to be displayed.

License

MIT © Srinivasan K K

Package Sidebar

Install

npm i vj-auto-carousel

Weekly Downloads

3

Version

1.0.1

License

ISC

Unpacked Size

7.53 kB

Total Files

6

Last publish

Collaborators

  • srinivasankk