Skip to content

Commit

Permalink
chore: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
phucbm committed Sep 29, 2023
1 parent 7933e15 commit a90d553
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import "@viivue/easy-tab-accordion";

```html
<!-- JS (10KB) -->
<script src="https://cdn.jsdelivr.net/gh/viivue/easy-tab-accordion@2.2.0/dist/easy-tab-accordion.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/viivue/easy-tab-accordion@2.3.0/dist/easy-tab-accordion.min.js"></script>
```

## Initialize
Expand Down Expand Up @@ -197,16 +197,16 @@ Add these attributes on the wrapper element.

## Events

| Name | Description |
|----------------------------------|-------------|
| `onBeforeInit: (data) => {}` | |
| `onAfterInit: (data) => {}` | |
| `onBeforeOpen: (data,el) => {}` | |
| `onBeforeClose: (data,el) => {}` | |
| `onAfterOpen: (data,el) => {}` | |
| `onAfterClose: (data,el) => {}` | |
| `onDestroy: (data) => {}` | |
| `onUpdate: (data) => {}` | |
| Name | Description |
|-------------------------------|-------------|
| `onBeforeInit: (data) => {}` | |
| `onAfterInit: (data) => {}` | |
| `onBeforeOpen: (data) => {}` | |
| `onBeforeClose: (data) => {}` | |
| `onAfterOpen: (data) => {}` | |
| `onAfterClose: (data) => {}` | |
| `onDestroy: (data) => {}` | |
| `onUpdate: (data) => {}` | |

## Methods

Expand Down Expand Up @@ -248,6 +248,9 @@ npm run prod

# Build dev site (for Netlify only)
npm run build

# Research replace to set new version
npm publish
```

## License
Expand Down

0 comments on commit a90d553

Please sign in to comment.