Countdown
A second is passed after a second has passed.
Features
- Supports countdown feature.
- Customizable countdown duration.
Install
Import
API
Countdown
Props | Type | Default |
---|---|---|
active | boolean | true |
as | AsTag | Component | template |
asChild | boolean | false |
duration | number | 0 |
precision | 0 | 1 | 2 | 3 | 0 |
render | ((props: CountdownTimeInfo) => VNodeChild) | - |