Skip to content

Commit

Permalink
Merge pull request #13 from neogic/master
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
vanderlee authored Dec 16, 2019
2 parents d4ad1ad + c9a4678 commit 7678af7
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Features
`indeterminatevalue` attributes or options.
- HTML attributes modified by the plugin.
- Should support every major browser, including IE6.
- Configurable order of states.
- Configurable order of states via `reverse` option.

Changelog
-----------
Expand Down Expand Up @@ -107,7 +107,7 @@ Turn a normal `checkbox` input into a tristate input.

- `state`

> `true` for checked, `false` for unchecked or `null` for undeterminate.
> `true` for checked, `false` for unchecked or `null` for indeterminate.
- `value`

Expand All @@ -129,6 +129,12 @@ Turn a normal `checkbox` input into a tristate input.
> The value to return for indeterminate state. If not specified, the value in
the `value` attribute is returned.

- `reverse`

> If set to true, the state order changes from "Unchecked > Checked > Indeterminate
> Unchecked" to "Unchecked > Indeterminate > Checked > Unchecked". Useful
if e.g. starting state is Indeterminate.


### Events

Expand Down Expand Up @@ -200,4 +206,4 @@ standard) attributes. Any current browser will handle these perfectly well.
> Sets the value returned if unchecked.
### `indeterminatevalue`
> Sets the value returned if indeterminate.
> Sets the value returned if indeterminate.

0 comments on commit 7678af7

Please sign in to comment.