GitHub

Stopwatch

llms.txt

Example

00 :00

Usage

		
<Stopwatch bind:stopwatch />

<Button onclick={() => stopwatch?.start()}>Start</Button>

API Reference

Stopwatch

A stopwatch display with animated digits. Bind to the stopwatch prop to control it programmatically (start, pause, resume, reset).

Property
stopwatch
showHours
showMinutes
showSeconds
class
ref