From 27c21a6e32ce1ee7618e08aba78fb882c469a854 Mon Sep 17 00:00:00 2001 From: Lucas Date: Wed, 28 Oct 2020 08:27:26 +0700 Subject: [PATCH] Docs: Better indeterminates examples --- docs/index.html | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/docs/index.html b/docs/index.html index 11702484..8510a742 100644 --- a/docs/index.html +++ b/docs/index.html @@ -289,7 +289,7 @@

Containers

.container enable a centered viewport.
- .container-fluid enable a 100% layout. + .container-fluid enable a 100% layout.

@@ -799,13 +799,18 @@ </fieldset> -

You can change a checkbox to indeterminate state by setting the indeterminate property of input checkboxes to true

+

You can change a checkbox to indeterminate state by setting the indeterminate property to true

+ +
<script>
+  document.getElementById('indeterminate-checkbox').indeterminate = true;
+</script>
+

Others input types:

@@ -1140,11 +1145,16 @@ -

You can change a progress bar to indeterminate state by setting the indeterminate property to true

+

You can change a progress bar to indeterminate state by setting the indeterminate property to true

+ +
<script>
+  document.getElementById('indeterminate-progress').indeterminate = true;
+</script>
+