# @acctglobal/carousel-universal-test

> This component has the functionality to render in the form of a carousel, elements passed by children.

Latest version **1.2.0** (published 2022-05-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install @acctglobal/carousel-universal-test
pnpm add @acctglobal/carousel-universal-test
yarn add @acctglobal/carousel-universal-test
bun add @acctglobal/carousel-universal-test
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2022-05-23 |
| First published | 2022-04-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=10 |
| Dependencies | 0 |
| Unpacked size | 81.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Lucas Ferraz |
| Maintainers | leonlfp007, raphamarinho, lucas_acct, icaropaiva, rodrigo-barreto, paulo.ferraz.acct, carlos.pellizzari.acct, joao.castro.acct, luiz.priolli, micas06gua, ricardo.freitas, fabioacct |

## Links

- npm: https://www.npmjs.com/package/@acctglobal/carousel-universal-test
- npm.io page: https://npm.io/package/@acctglobal/carousel-universal-test

## Recent versions

- 1.2.0 (latest) — 2022-05-23
- 1.1.0 — 2022-05-23
- 1.0.0 — 2022-05-23
- 0.9.0 — 2022-05-23
- 0.8.0 — 2022-05-23
- 0.7.0 — 2022-05-20
- 0.6.0 — 2022-05-19
- 0.5.0 — 2022-05-18
- 0.4.0 — 2022-04-21
- 0.3.0 — 2022-04-21
- 0.2.0 — 2022-04-21
- 0.1.0 — 2022-04-21

## README

# carousel-universal

This component has the functionality to render in the form of a carousel, elements
passed by children.


## Using

 1. import 

```javascript
import Carousel from "Carousel"
```
2. Declare 
```javascript
 <Carousel>
</Carousel>
```
3. Passing Items that will be rendered 
```javascript
<Carousel>
    <img src="http://via.placeholder.com/226x416?text=Product1" alt='' />
    <img src="http://via.placeholder.com/226x416?text=Product2" alt='' />
    <img src="http://via.placeholder.com/226x416?text=Product3" alt='' />
    <img src="http://via.placeholder.com/226x416?text=Product4" alt='' />
    <img src="http://via.placeholder.com/226x416?text=Product5" alt='' />
    <img src="http://via.placeholder.com/226x416?text=Product6" alt='' />
    <img src="http://via.placeholder.com/226x416?text=Product7" alt='' />
</Carousel>
```
4. Including Mandatory Props
```javascript
<Carousel bullet={{ isVisible: true }} arrow={{ isVisible: true}}   carouselId="Sample"  >
    ...
</Carousel>
```






## Result



![App Screenshot](https://i.ibb.co/KV7QFYz/ccarousel.png)



## Props

#### Bullets Button

| Parameter   | Type       | Description                           |
| :---------- | :--------- | :---------------------------------- |
| `bullet` | `object` | **Mandatory**. Parameter containing the parameters below |
| `style` | `object` | **Optional**. Style that will be applied to the Button |
| `bulletEnableColor` | `string` | **Optional**. Bullet color enabled |
| `bulletDisableColor` | `string` | **Optional**. Bullet color Disable |
|`isVisible` | `boolean` | **Mandatory**. Visibility of Bullets Button  |
|`numeric` | `boolean` | **Optional**. Displays a numerical count of items |

#### Arrow Button

| Parameter   | Type       | Description                           |
| :---------- | :--------- | :---------------------------------- |
| ` arrow` | `object` | **Mandatory**. Parameter containing the parameters below |
| ` style` | `object` | **Opcional**. Estilo que sera aplicado ao Button|
| ` iconColor` | `string` | **optional**. Cor do Icone|
|`isVisible` | `boolean` | **Mandatory**.Visibility of Arrows Button |

#### General

| Parameter   | Type       | Description                           |
| :---------- | :--------- | :---------------------------------- |
| `qtyItems` | `number` | **Optional**.Set the Number of Items displayed on the screen|
| `gapItems` | `number` | **Optional**. Set the spacing between the items that will be displayed|
| `carouselId`|`string` | **Mandatory**. Unique Carousel Identifie|



# Note

When using **qtyItems** it will not be necessary to use **gapItems**,
because the distance of the elements will be calculated automatically.

Use **gapItems** when the spacing generated by **qtyItems** is not satisfactory.

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