Skip to content

Commit

Permalink
[docs] Methods section
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Aug 6, 2019
1 parent 15f3c26 commit d6d28cf
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ JustGage is a handy JavaScript plugin for generating and animating nice & cl
- [Options](#Options)
- [Custom Sectors](#Custom-Sectors)
- [Pointer options](#Pointer-options)
- [Methods](#Methods)
- [Refresh](#Refresh)
- [Destroy](#Destroy)
- [Demo](#Demo)
- [Examples](#Examples)
- [Changelog](#Changelog)
Expand Down Expand Up @@ -169,6 +172,23 @@ pointerOptions: {
}
```
## Methods
### Refresh
Used to refresh Gauge value and max value
`refresh(val, max)`
- `val` : The Gauge value (required)
- `max` : The Gauge Max value (optional)
### Destroy
Used to destroy the Gauge element
`destroy()`
## Demo
Click [here](https://justgage.com/) to see a demo
Expand Down

0 comments on commit d6d28cf

Please sign in to comment.