ado5 60ac2c1c9a first commit 7 months ago
..
README.en-US.md 60ac2c1c9a first commit 7 months ago
README.md 60ac2c1c9a first commit 7 months ago
count-down.d.ts 60ac2c1c9a first commit 7 months ago
count-down.js 60ac2c1c9a first commit 7 months ago
count-down.json 60ac2c1c9a first commit 7 months ago
count-down.wxml 60ac2c1c9a first commit 7 months ago
count-down.wxss 60ac2c1c9a first commit 7 months ago
props.d.ts 60ac2c1c9a first commit 7 months ago
props.js 60ac2c1c9a first commit 7 months ago
type.d.ts 60ac2c1c9a first commit 7 months ago
type.js 60ac2c1c9a first commit 7 months ago
utils.d.ts 60ac2c1c9a first commit 7 months ago
utils.js 60ac2c1c9a first commit 7 months 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 custom-style v0.25.0 | String | - | - | N format | String | HH:mm:ss | - | N millisecond | Boolean | false | - | N size | String v0.5.1 | 'small' | options:small/medium/large | N split-with-unit v0.5.1 | Boolean | false | - | N theme | String v0.5.1 | 'default' | options:default/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 | - | -