fix(html-examples): make progress click-driven
Remove interval auto-ticking from the progress example, render visible percentage text next to the native progress element, and update smoke coverage to assert explicit click behavior. req: htmx_equivalents/001 req: examples/001 req: test/006
This commit is contained in:
@@ -78,7 +78,7 @@
|
||||
|
||||
<section id="progress-bar" data-htmx-example="progress-bar" aria-labelledby="progress-heading">
|
||||
<h2 id="progress-heading">progress-bar</h2>
|
||||
<form data-hemx-handle="tick_progress" data-hemx-form="tick_progress" data-hemx-interval="1000">
|
||||
<form data-hemx-handle="tick_progress" data-hemx-form="tick_progress">
|
||||
<input type="hidden" name="request" value="tick">
|
||||
<button type="submit">Tick progress</button>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user