xiahan cb6ddd3787 feature 代码提交 5 months ago
..
README.en-US.md cb6ddd3787 feature 代码提交 5 months ago
README.md cb6ddd3787 feature 代码提交 5 months ago
count-down.d.ts cb6ddd3787 feature 代码提交 5 months ago
count-down.js cb6ddd3787 feature 代码提交 5 months ago
count-down.json cb6ddd3787 feature 代码提交 5 months ago
count-down.wxml cb6ddd3787 feature 代码提交 5 months ago
count-down.wxss cb6ddd3787 feature 代码提交 5 months ago
props.d.ts cb6ddd3787 feature 代码提交 5 months ago
props.js cb6ddd3787 feature 代码提交 5 months ago
type.d.ts cb6ddd3787 feature 代码提交 5 months ago
type.js cb6ddd3787 feature 代码提交 5 months ago
utils.d.ts cb6ddd3787 feature 代码提交 5 months ago
utils.js cb6ddd3787 feature 代码提交 5 months ago

README.en-US.md

:: BASE_DOC ::

API

CountDown Props

name | type | default | description | required -- | -- | -- | -- | -- style | Object | - | CSS(Cascading Style Sheets) | N custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N auto-start | Boolean | true | - | N content | String / Slot | 'default' | see more ts definition | N format | String | HH:mm:ss | - | N millisecond | Boolean | false | - | N size | String | 'medium' | 0.5.1。options: small/medium/large | N split-with-unit | Boolean | false | 0.5.1 | N theme | String | 'default' | 0.5.1。options: default/round/square | N time | Number | 0 | 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 | - | -

CountDown External Classes

className | Description -- | -- t-class | - t-class-count | - t-class-split | -

CSS Variables

The component provides the following CSS variables, which can be used to customize styles. Name | Default Value | Description -- | -- | -- --td-countdown-bg-color | @error-color | - --td-countdown-default-color | @text-color-primary | - --td-countdown-round-border-radius | @radius-circle | - --td-countdown-round-color | @text-color-anti | - --td-countdown-square-border-radius | @radius-small | -