<commit_before># Grease
An ES6 Vanilla JS Carousel


## Usage
```html
<div id="grease-carousel">
  <div>Slide 1</div>
  <div>Slide 2</div>
  <div>Slide 3</div>
  <div>Slide 4</div>
</div>
...

<script>
  const carousel = document.getElementById('grease-carousel');
  const grease = new Grease( carousel );
</script>
```

### Options
* fade (default: false)
* buttons (default: true)
* captions (default: false)
* dots (default: false)
* ease (default: 'ease')
* fade (default: false)
* infinite (default: false)
* ticker (default: false)
* slidesToShow (default: 1)
* slidesToScroll (default: 1)
* speed (in milliseconds - default: 300)
* breakpoint (default: 640)
* matchHeightClass

_to do_
* autoplay

### Events

* init
* nextSlide
* previousSlide
* resize

```
grease.on('nextSlide', () => {
	// do stuff
});
```

### Methods
_todo_


### Captions
```html<commit_msg>edit readme<commit_after># Grease
An ES6 Vanilla JS Carousel


## Usage
```html
<div id="grease-carousel">
  <div>Slide 1</div>
  <div>Slide 2</div>
  <div>Slide 3</div>
  <div>Slide 4</div>
</div>
...

<script>
  const carousel = document.getElementById('grease-carousel');
  const grease = new Grease( carousel );
</script>
```

### Options
* fade (default: false)
* buttons (default: true)
* captions (default: false)
* dots (default: false)
* ease (default: 'ease')
* fade (default: false)
* infinite (default: false)
* ticker (default: false)
* slidesToShow (default: 1)
* slidesToScroll (default: 1)
* speed (in milliseconds - default: 300)
* breakpoint (default: 640)
* matchHeightClass

_to do_
* autoplay

### Events

* init
* nextSlide
* previousSlide
* resize

```html
grease.on('nextSlide', () => {
	// do stuff
});
```

### Methods
_todo_


### Captions
```html
{'fraction_non_alphanumeric': 0.1764032073310424, 'fraction_numerical': 0.014891179839633447, 'mean_word_length': 4.425465838509317, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 29, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '697961', 'n_tokens_mistral': 690, 'n_tokens_neox': 639, 'n_words': 171}