WGShare.Client.Wx/miniprogram_npm/tdesign-miniprogram/count-down
yj d281aab5b3 Initial Commit 2024-11-11 14:16:29 +08:00
..
README.en-US.md Initial Commit 2024-11-11 14:16:29 +08:00
README.md Initial Commit 2024-11-11 14:16:29 +08:00
count-down.d.ts Initial Commit 2024-11-11 14:16:29 +08:00
count-down.js Initial Commit 2024-11-11 14:16:29 +08:00
count-down.json Initial Commit 2024-11-11 14:16:29 +08:00
count-down.wxml Initial Commit 2024-11-11 14:16:29 +08:00
count-down.wxss Initial Commit 2024-11-11 14:16:29 +08:00
props.d.ts Initial Commit 2024-11-11 14:16:29 +08:00
props.js Initial Commit 2024-11-11 14:16:29 +08:00
type.d.ts Initial Commit 2024-11-11 14:16:29 +08:00
type.js Initial Commit 2024-11-11 14:16:29 +08:00
utils.d.ts Initial Commit 2024-11-11 14:16:29 +08:00
utils.js Initial Commit 2024-11-11 14:16:29 +08:00

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 - -