zoujiandong 2bd2fd31ac 1.22
2024-01-22 08:55:30 +08:00

885 B
Raw Blame History

:: BASE_DOC ::

API

CountDown Props

name type default description required
auto-start Boolean true - N
content String / Slot 'default' - N
custom-style v0.25.0 String - - N
format String HH:mm:ss - N
millisecond Boolean false - N
size String v0.5.1 'small' optionssmall/medium/large N
split-with-unit v0.5.1 Boolean false - N
theme String v0.5.1 'default' optionsdefault/round/square N
time Number - required Y

CountDown Events

name params description
change (time: TimeData) see more ts definition
interface TimeData { days: number; hours: number; minutes: number; seconds: number; milliseconds: number }
finish - -