project init & fix ui
This commit is contained in:
27
miniprogram_npm/tdesign-miniprogram/calendar/README.en-US.md
Normal file
27
miniprogram_npm/tdesign-miniprogram/calendar/README.en-US.md
Normal file
@@ -0,0 +1,27 @@
|
||||
:: BASE_DOC ::
|
||||
|
||||
## API
|
||||
### Calendar Props
|
||||
|
||||
name | type | default | description | required
|
||||
-- | -- | -- | -- | --
|
||||
confirm-btn | String / Object / Slot | '' | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/calendar/type.ts) | N
|
||||
custom-style | String | - | `0.25.0` | N
|
||||
first-day-of-week | Number | 0 | \- | N
|
||||
format | Function | - | Typescript:`CalendarFormatType ` `type CalendarFormatType = (day: TDate) => TDate` `type TDateType = 'selected' \| 'disabled' \| 'start' \| 'centre' \| 'end' \| ''` `interface TDate { date: Date; day: number; type: TDateType; className?: string; prefix?: string; suffix?: string;}`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/calendar/type.ts) | N
|
||||
max-date | Number | - | \- | N
|
||||
min-date | Number | - | \- | N
|
||||
title | String / Slot | - | \- | N
|
||||
type | String | single | options:single/multiple/range | N
|
||||
use-popup | Boolean | true | `0.32.0` | N
|
||||
value | Number / Array | - | Typescript:`number \| number[]` | N
|
||||
default-value | Number / Array | undefined | uncontrolled property。Typescript:`number \| number[]` | N
|
||||
visible | Boolean | false | \- | N
|
||||
|
||||
### Calendar Events
|
||||
|
||||
name | params | description
|
||||
-- | -- | --
|
||||
change | `(value: timestamp)` | `0.28.0`
|
||||
confirm | `(value: timestamp)` | \-
|
||||
select | `(value: timestamp)` | `0.28.0`
|
||||
Reference in New Issue
Block a user