@@ -8,21 +8,22 @@ name | type | default | description | required
88-- | -- | -- | -- | --
99style | Object | - | CSS(Cascading Style Sheets) | N
1010custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N
11+ allow-same-day | Boolean | false | ` 1.11.2 ` | N
1112auto-close | Boolean | true | ` 0.34.0 ` | N
1213confirm-btn | String / Object | '' | [ see more ts definition] ( https://github.com/Tencent/tdesign-miniprogram/blob/develop/packages/components/calendar/type.ts ) | N
1314first-day-of-week | Number | 0 | \- | N
14- 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/blob/develop/packages/components/calendar/type.ts ) | N
15- locale-text | Object | - | Typescript: ` CalendarLocaleText ` ` interface CalendarLocaleText {title?: string; weekdays?: string[]; monthTitle?: string; months?: string[]; confirm?: string;} ` 。[ see more ts definition] ( https://github.com/Tencent/tdesign-miniprogram/blob/develop/packages/components/calendar/type.ts ) | N
15+ 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/blob/develop/packages/components/calendar/type.ts ) | N
16+ locale-text | Object | - | Typescript: ` CalendarLocaleText ` ` interface CalendarLocaleText {title?: string; weekdays?: string[]; monthTitle?: string; months?: string[]; confirm?: string;} ` 。[ see more ts definition] ( https://github.com/Tencent/tdesign-miniprogram/blob/develop/packages/components/calendar/type.ts ) | N
1617max-date | Number | - | \- | N
1718min-date | Number | - | \- | N
1819readonly | Boolean | - | ` 1.9.7 ` | N
1920switch-mode | String | none | ` 1.8.2 ` 。options: none/month/year-month | N
2021title | String | - | \- | N
21- type | String | ' single' | options: single/multiple/range | N
22+ type | String | single | options: single/multiple/range | N
2223use-popup | Boolean | true | ` 0.32.0 ` | N
2324using-custom-navbar | Boolean | false | \- | N
24- value | Number / Array | - | Typescript: ` number \| number[] ` | N
25- default-value | Number / Array | undefined | uncontrolled property。Typescript: ` number \| number[] ` | N
25+ value | Number / Array | - | Typescript: ` number \| number[] ` | N
26+ default-value | Number / Array | undefined | uncontrolled property。Typescript: ` number \| number[] ` | N
2627visible | Boolean | false | \- | N
2728
2829### Calendar Events
0 commit comments