# dev-indreka-carousel

> The carousel is a slideshow for cycling through a series of content, built with CSS 3D transforms and a bit of JavaScript. It works with a series of images, text, or custom markup. It also includes support for previous/next controls and indicators.

Latest version **1.0.2** (published 2023-10-17) · 0 weekly downloads

## Install

```sh
npm install dev-indreka-carousel
pnpm add dev-indreka-carousel
yarn add dev-indreka-carousel
bun add dev-indreka-carousel
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2023-10-17 |
| First published | 2023-10-17 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 26.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | centilytics_admin |

## Links

- npm: https://www.npmjs.com/package/dev-indreka-carousel
- npm.io page: https://npm.io/package/dev-indreka-carousel

## Dependencies (1)

- [lit](https://npm.io/package/lit.md) ^2.7.2

## Recent versions

- 1.0.2 (latest) — 2023-10-17

## README

# Indreka Carousel Component <indreka-carousel></indreka-carousel>

The carousel is a slideshow for cycling through a series of content, built with CSS 3D transforms and a bit of JavaScript. It works with a series of images, text, or custom markup. It also includes support for previous/next controls and indicators.

It consist of the following property

1. `interval` :- interval property is a type of a number which accept a numeric value of the automatic interval of time periods. It accepts value in mili seconds. For eg: 2000 means for 2seconds. By default its value is set to be 8000 i.e. 8 seconds. You can change it by passing a value in component.

2. `autoplay` :- autoplay property is a type of boolean which accept a boolean value either a true or false. It is used for the controlling the autoplay perform action of carousel i.e. carousel is automatially slide or not. By default it value set to be true.
   Note:- To set the autoplay property to be set as false use `.autoplay = "false"` or just `.autoplay`. and for set it true use `autoplay = "true"` or just `autoplay`

3. `showIndicator` :- showIndicator property is a type of boolean which accept a boolean value either a true or false. It is used for show or hiding the indicator of the carousel. By deafault its value is set to be true.

4. `showController` ;- showController property is a type of boolean which accept a boolean value either a true or false. It is used for show or hiding the arrow button controller of the carousel. By deafault its value is set to be true.

# Example to use a carousel

`<indreka-carousel slideindex="0" autoplay>

<section style="text-align: center">
    <img
        src="./lit-logo.svg"
        style="max-height: 50vh"
        alt="Lit library logo"
    />
    <h1>&lt;simple-carousel></h1>
</section>
<section>
    <h1>🔥Built using <a href="https://lit.dev">Lit!</a>🔥</h1>
</section>

<section>
<h1>Use directly in HTML:</h1>
<code>
<pre>
    &lt;simple-carousel slideindex="0">
</pre>
</code>
</section>
<section>
    			<h1>Styling</h1>
    			<p>
    				This carousel can be styled with CSS inheritance, custom
    				properties, and shadow parts.
    			</p>
    			<ol>
    				<li><a href="./demo-1.html">Custom Properties Demo</a></li>
    				<li><a href="./demo-2.html">Shadow Parts Demo 1</a></li>
    				<li><a href="./demo-3.html">Shadow Parts Demo 2</a></li>
    			</ol>
</section>
</indreka-carousel>`

---
_Source: https://npm.io/package/dev-indreka-carousel · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
