Skip to content

Commit

Permalink
✨ v1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
phucbm committed Jun 23, 2022
1 parent f80257d commit fd65af1
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

### [1.0.1] - 2022-06-23

- Settings via attributes
- Allow collapse all

### [1.0.0] - 2022-04-04

- Accordion and tabs.
Expand Down
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Easy Tab & Accordion v1.0.0
# Easy Tab & Accordion v1.0.1

[![release](https://badgen.net/github/release/viivue/easy-tab-accordion/)](https://github.com/viivue/easy-tab-accordion/releases/latest)
[![minified](https://badgen.net/badge/minified/7KB/cyan)](https://www.jsdelivr.com/package/gh/viivue/easy-tab-accordion)
Expand Down Expand Up @@ -84,6 +84,8 @@ const eta = new EasyTabAccordion({
duration: 600, // animation duration
hash: false, // update hash on URL, open tab/accordion via hash
liveBreakpoint: [], // [1920, 1024] => destroy if window.width if bigger than 1920 or less than 1024
activeSection: 0, // will show order of item show, close all if activeSection < 0 or activeSection >= length item
allowCollapseAll: false,
onBeforeOpen: (data, el) => {
},
onBeforeClose: (data, el) => {
Expand Down Expand Up @@ -128,3 +130,9 @@ And start server
```shell
gulp serve
```

Release new version

```shell
gulp release
```
2 changes: 1 addition & 1 deletion build/easy-tab-accordion.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**!
* Easy Tab & Accordion v1.0.0
* Easy Tab & Accordion v1.0.1
* https://github.com/viivue/easy-tab-accordion
* MIT license - 2022
*/
Expand Down
4 changes: 2 additions & 2 deletions dist/easy-tab-accordion.min.js

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

4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Easy Tab & Accordion v1.0.0</title>
<title>Easy Tab & Accordion v1.0.1</title>
</head>
<body>

<h1>Easy Tab & Accordion v1.0.0</h1>
<h1>Easy Tab & Accordion v1.0.1</h1>

<div>
<div data-eta-test>
Expand Down

0 comments on commit fd65af1

Please sign in to comment.