diff options
Improve docs code examples
1 files changed, 12 insertions, 1 deletions
| -rw-r--r-- | docs/src/contents/forms.pug | 13 |
diff --git a/docs/src/contents/forms.pug b/docs/src/contents/forms.pug index 75c096e..51cc8f8 100644 --- a/docs/src/contents/forms.pug +++ b/docs/src/contents/forms.pug @@ -140,8 +140,19 @@ pre.code(data-lang='HTML') </label> </div> +.docs-demo.columns + .column + .form-group + label.form-checkbox + input#docs-demo-checkbox(type="checkbox") + i.form-icon + | Select all + +script. + document.getElementById("docs-demo-checkbox").indeterminate = true; + p - | You can use #[code :indeterminate] pseudo class for indeterminate state of checkboxes. + | You can change checkbox to indeterminate state by setting the #[code indeterminate] property of input checkboxes to #[code true]. +docs-subheading('forms-horizontal', 'Horizontal forms') |