Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/maikenegreiros/carrossel

An agnostic framework carousel easy to implement
https://github.com/maikenegreiros/carrossel

carousel carousel-js carousel-slider

Last synced: 4 days ago
JSON representation

An agnostic framework carousel easy to implement

Awesome Lists containing this project

README

        

# Carrossel

Simple usage

```js
import carousel from './carrossel'

const container = document.querySelector('.carousel')
const elements = document.querySelectorAll('.carousel__item')
const arrowLeft = document.querySelector('.carousel__button-left')
const arrowRight = document.querySelector('.carousel__button-right')

carousel({container, elements, arrowLeft, arrowRight})
```