<dy-countdown>
Displays a countdown timer.
Example
Loading...
<dy-countdown @finish=${(evt)=>{console.count('finish');evt.target.value=Date.now()+10000;}}></dy-countdown>
API
DuoyunCountdownElement
Extends TapCountdownElement
TapCountdownElement
Shadow DOM; Extends GemElement
TapCountdownElement Instance Properties
| Property(Attribute) | Reactive | Type |
|---|---|---|
value(value) |
Yes | number |
renderChar |
Yes | (char: string) => TemplateResult |
finish |
Emitter |
TapCountdownElement Other
| Type | Value |
|---|---|
| Event | finish |
| Part | hours, minutes, seconds, delimiter |
