You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| locale | The calendar's locale | object |[default](https://github.com/vueComponent/ant-design-vue/blob/next/components/date-picker/locale/example.json)||
34
+
| locale | The calendar's locale | object |[default](https://github.com/vueComponent/ant-design-vue/blob/main/components/date-picker/locale/example.json)||
35
35
| mode | The display mode of the calendar |`month`\|`year`|`month`||
36
36
| monthCellRender | Customize the display of the month cell by setting a scoped slot, the returned content will be appended to the cell | v-slot:monthCellRender="{current: dayjs}" | - ||
37
37
| monthFullCellRender | Customize the display of the month cell by setting a scoped slot, the returned content will override the cell | v-slot:monthFullCellRender="{current: dayjs}" | - ||
| format | Color format | 'HEXA' \|'RGBA' \|'HSVA' \|'HSLA' \|'CMYK' | 'HEXA' |
10
10
| getPopupContainer | to set the container of the floating layer, while the default is to create a div element in body | Function(triggerNode) | () => document.body |
Copy file name to clipboardExpand all lines: components/date-picker/index.en-US.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ There are five kinds of picker:
26
26
27
27
The default locale is en-US, if you need to use other languages, recommend to use internationalized components provided by us at the entrance. Look at: [ConfigProvider](/components/config-provider/).
28
28
29
-
If there are special needs (only modifying single component language), Please use the property: local. Example: [default](https://github.com/vueComponent/ant-design-vue/blob/next/components/date-picker/locale/example.json).
29
+
If there are special needs (only modifying single component language), Please use the property: local. Example: [default](https://github.com/vueComponent/ant-design-vue/blob/main/components/date-picker/locale/example.json).
30
30
31
31
```html
32
32
<template>
@@ -86,7 +86,7 @@ The following APIs are shared by DatePicker, RangePicker.
86
86
| dropdownClassName | To customize the className of the popup calendar | string | - ||
87
87
| getPopupContainer | To set the container of the floating layer, while the default is to create a `div` element in `body`| function(trigger) | - ||
88
88
| inputReadOnly | Set the `readonly` attribute of the input tag (avoids virtual keyboard on touch devices) | boolean | false ||
0 commit comments