From 8bc46327c36ae806d1a8fb49c35618299c3eaaa6 Mon Sep 17 00:00:00 2001 From: Angelos Chalaris Date: Tue, 20 Dec 2016 13:03:15 +0200 Subject: [PATCH] Progress module quick reference --- docs/progress.html | 4 ++-- docs/quick_reference.html | 17 +++++++++++++---- docs/v2/DEVLOG.md | 1 + 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/docs/progress.html b/docs/progress.html index abec952..9cd76e1 100644 --- a/docs/progress.html +++ b/docs/progress.html @@ -131,7 +131,7 @@
-

To create a progress bar, use the <progress> HTML element, specify the preset maximum of max="1000" and set a value between 0 and 1000. Update your <progress> element using some Javascript code, by changing its value to any integer in the same range.

+

To create a progress bar, use the <progress> HTML element, specify the preset maximum of max="1000" and set a value between 0 and 1000. Update your <progress> element using some Javascript code, by changing its value to any integer in the same range.

Sample code

<progress value="0" max="1000"></progress>
 <progress value="450" max="1000"></progress>
@@ -195,7 +195,7 @@
                   
<progress class="nano secondary" value="800" max="1000"></progress>
 <!-- or -->
 <progress class="inline tertiary" value="650" max="1000"></progress>
-

Do: You can mix size and color classes for <progress> elements as needed.

+

Do: You can mix size and color classes for <progress> elements as needed.

<progress class="secondary teriary" value="450" max="1000"></progress>
diff --git a/docs/quick_reference.html b/docs/quick_reference.html
index 7e1bffa..564d52a 100644
--- a/docs/quick_reference.html
+++ b/docs/quick_reference.html
@@ -1002,7 +1002,9 @@
               

Notes

    -
  • +
  • Use the <progress> element to create progress bars
  • +
  • Set max="1000" and a value between 0 and 1000
  • +
  • Do not use floating point values for the progress bar
@@ -1017,7 +1019,9 @@

Notes

@@ -1029,7 +1033,10 @@

Notes

@@ -1043,7 +1050,9 @@

Notes

diff --git a/docs/v2/DEVLOG.md b/docs/v2/DEVLOG.md index 22cd05d..ea10791 100644 --- a/docs/v2/DEVLOG.md +++ b/docs/v2/DEVLOG.md @@ -687,3 +687,4 @@ - Documented `card` in `quick reference`. - Documented `tab` in `quick reference`. - Documented `contextual` in `quick reference`. +- Documented `progress` in `quick reference`.