Timer
Elapsed time is an attribute on this view's root. The stylesheet keeps the clock: a CSS animation runs on the readout while the timer does, and Quark adds a tenth of a second per iteration until the elapsed time reaches the duration. The slider writes the duration; Reset writes zero.
Task 4 of 7GUIs, a GUI programming benchmark.
The playground needs this site's service worker, which is still installing. Reload the page to start editing.