Skip to content

Commit 7678af7

Browse files
authored
Merge pull request #13 from neogic/master
Update README.md
2 parents d4ad1ad + c9a4678 commit 7678af7

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Features
2323
`indeterminatevalue` attributes or options.
2424
- HTML attributes modified by the plugin.
2525
- Should support every major browser, including IE6.
26-
- Configurable order of states.
26+
- Configurable order of states via `reverse` option.
2727

2828
Changelog
2929
-----------
@@ -107,7 +107,7 @@ Turn a normal `checkbox` input into a tristate input.
107107

108108
- `state`
109109

110-
> `true` for checked, `false` for unchecked or `null` for undeterminate.
110+
> `true` for checked, `false` for unchecked or `null` for indeterminate.
111111
112112
- `value`
113113

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

132+
- `reverse`
133+
134+
> If set to true, the state order changes from "Unchecked > Checked > Indeterminate
135+
> Unchecked" to "Unchecked > Indeterminate > Checked > Unchecked". Useful
136+
if e.g. starting state is Indeterminate.
137+
132138

133139
### Events
134140

@@ -200,4 +206,4 @@ standard) attributes. Any current browser will handle these perfectly well.
200206
> Sets the value returned if unchecked.
201207
202208
### `indeterminatevalue`
203-
> Sets the value returned if indeterminate.
209+
> Sets the value returned if indeterminate.

0 commit comments

Comments
 (0)