Documented indeterminate checkboxes (#5068)

This commit is contained in:
Mantas Šimkūnas 2020-05-12 20:30:03 +03:00 committed by GitHub
parent 15e4e53901
commit a5ccfb2f99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,6 +47,15 @@ Allows a user to select from a list of binary options.
</div>
</div>
### Indeterminate checkboxes
<div class="checkbox custom-checkbox is-indeterminate">
<input name="checkbox" value="1" type="checkbox" id="checkbox1" data-checked="1" />
<label for="checkbox1">Checkbox</label>
</div>
The `data-checked` attribute may have one of three values: 0 (off), 1 (indeterminate) or 2 (on).
### Radio
<div class="radio custom-radio">