mirror of
https://github.com/picocss/pico.git
synced 2025-04-22 09:26:14 -04:00
Merge pull request #284 from FWDekker/progress-docs
Remove incorrect JS for indeterminate progress
This commit is contained in:
commit
3809ba3afa
2 changed files with 9 additions and 14 deletions
File diff suppressed because one or more lines are too long
|
@ -28,15 +28,12 @@
|
||||||
|
|
||||||
</footer>
|
</footer>
|
||||||
</article>
|
</article>
|
||||||
<p>You can change a progress bar to an indeterminate state by setting the <code><i>indeterminate</i></code> property to <code><u>true</u></code></p>
|
<p>A progress bar without a <code><b>value</b></code> attribute is indeterminate.</p>
|
||||||
<article aria-label="Indeterminate progress bar example">
|
<article aria-label="Indeterminate progress bar example">
|
||||||
<progress id="indeterminate-progress"></progress>
|
<progress></progress>
|
||||||
<script>document.getElementById('indeterminate-progress').indeterminate = true;</script>
|
|
||||||
<footer class="code">
|
<footer class="code">
|
||||||
|
|
||||||
<pre><code><<b>script</b>>
|
<pre><code><<b>progress</b>></<b>progress</b>></code></pre>
|
||||||
<i>document</i>.<b>getElementById</b>(<u>'indeterminate-progress'</u>).<i>indeterminate</i> = <u>true</u>;
|
|
||||||
</<b>script</b>></code></pre>
|
|
||||||
|
|
||||||
</footer>
|
</footer>
|
||||||
</article>
|
</article>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue