You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Joe 9b449c2688 first commit 2 years ago
..
README.en-US.md first commit 2 years ago
README.md first commit 2 years ago
count-down.d.ts first commit 2 years ago
count-down.js first commit 2 years ago
count-down.json first commit 2 years ago
count-down.wxml first commit 2 years ago
count-down.wxss first commit 2 years ago
props.d.ts first commit 2 years ago
props.js first commit 2 years ago
type.d.ts first commit 2 years ago
type.js first commit 2 years ago
utils.d.ts first commit 2 years ago
utils.js first commit 2 years ago

README.en-US.md

:: BASE_DOC ::

API

CountDown Props

name type default description required
auto-start Boolean true - N
content String / Slot 'default' - 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 - -