-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from phucbm/2.0.7
v2.0.7
- Loading branch information
Showing
9 changed files
with
89 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Flickity Responsive | ||
|
||
[![release](https://badgen.net/github/release/phucbm/flickity-responsive/)](https://github.com/phucbm/flickity-responsive/releases/latest) | ||
[![minified](https://badgen.net/badge/minified/4KB/cyan)](https://www.jsdelivr.com/package/gh/phucbm/flickity-responsive) | ||
[![minified](https://badgen.net/badge/minified/7KB/cyan)](https://www.jsdelivr.com/package/gh/phucbm/flickity-responsive) | ||
[![jsdelivr](https://data.jsdelivr.com/v1/package/gh/phucbm/flickity-responsive/badge?style=rounded)](https://www.jsdelivr.com/package/gh/phucbm/flickity-responsive) | ||
[![npm weekly download](https://badgen.net/npm/dm/flickity-responsive)](https://www.npmjs.com/package/flickity-responsive) | ||
[![license](https://badgen.net/github/license/phucbm/flickity-responsive/)](https://github.com/phucbm/flickity-responsive/blob/main/LICENSE) | ||
|
@@ -54,7 +54,7 @@ import {FlickityResponsive} from "flickity-responsive"; | |
|
||
```html | ||
|
||
<script src="https://cdn.jsdelivr.net/gh/phucbm/[email protected].6/flickity-responsive.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/gh/phucbm/[email protected].7/flickity-responsive.min.js"></script> | ||
``` | ||
|
||
## Usage | ||
|
@@ -110,8 +110,8 @@ const carousel = new FlickityResponsive('.carousel', { | |
nextArrow: undefined, // DOM element, jQuery element | ||
|
||
// indicator numbers | ||
indicatorCurrent: undefined, // DOM element, jQuery element | ||
indicatorTotal: undefined, // DOM element, jQuery element | ||
indicatorCurrent: undefined, // current slides, DOM element, jQuery element | ||
indicatorTotal: undefined, // total slides, DOM element, jQuery element | ||
|
||
// hide navigation elements if the slider is not slide-able | ||
responsiveNavigation: true, | ||
|
@@ -149,14 +149,14 @@ npm run prod | |
# Publish package | ||
npm publish | ||
|
||
# Netlify build | ||
# build | ||
npm run build | ||
``` | ||
|
||
## License | ||
|
||
[MIT License](https://github.com/phucbm/flickity-responsive/blob/master/LICENSE) | ||
|
||
Copyright (c) 2023 Phuc Bui | ||
Copyright (c) 2024 Phuc Bui | ||
|
||
> Please leave a star ⭐️ to support my work. Thank you! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.