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