File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff 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
2828Changelog
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.
You can’t perform that action at this time.
0 commit comments