Skip to content

Commit

Permalink
Merge pull request #36 from phucbm/v2.1.1
Browse files Browse the repository at this point in the history
V2.1.1
  • Loading branch information
phucbm authored Jan 20, 2025
2 parents e9c672f + f1fdb66 commit 0b908e3
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 6 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ import {FlickityResponsive} from "flickity-responsive";

```html

<script src="https://cdn.jsdelivr.net/gh/phucbm/[email protected].0/flickity-responsive.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/phucbm/[email protected].1/flickity-responsive.min.js"></script>
```

## Usage
Expand Down Expand Up @@ -123,6 +123,9 @@ const carousel = new FlickityResponsive('.carousel', {

// force move
forceMove: true, // make sure that every time an arrows clicked, the carousel will move

// aria hidden focus
ariaHiddenFocus: true, // Add tabindex="-1" to all elements with or inside aria-hidden="true"
});
```

Expand Down
4 changes: 2 additions & 2 deletions dist/flickity-responsive.module.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0b908e3

Please sign in to comment.