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
| closeOnClick | Close dropdown on click | boolean | - | <div><small>From <b>config</b>:</small></div><codestyle='white-space: nowrap; padding: 0;'>datepicker: {<br> closeOnClick: true<br>}</code> |
46
42
| dateCreator | Date creator function, default is `new Date()`| () => Date | - | <div><small>From <b>config</b>:</small></div><codestyle='white-space: nowrap; padding: 0;'>datepicker: {<br> dateCreator: () => new Date()<br>}</code> |
47
-
| dateFormatter | Custom function to format a date into a string | (date: Date \| Date[]) => string| - | <div><small>From <b>config</b>:</small></div><codestyle='white-space: nowrap; padding: 0;'>datepicker: {<br> dateFormatter: () => undefined<br>}</code> |
48
-
| dateParser | Custom function to parse a string into a date | (date: string) => Date \|Date[]| - | <div><small>From <b>config</b>:</small></div><codestyle='white-space: nowrap; padding: 0;'>datepicker: {<br> dateParser: () => undefined<br>}</code> |
43
+
| dateFormatter | Custom function to format a date into a string | (date: Date \|[]\|Date[]\|[Date, Date]) => string | - | <div><small>From <b>config</b>:</small></div><codestyle='white-space: nowrap; padding: 0;'>datepicker: {<br> dateFormatter: () => undefined<br>}</code> |
44
+
| dateParser | Custom function to parse a string into a date | (date: string) => Date \|[]\| Date[]\|[Date, Date]| - | <div><small>From <b>config</b>:</small></div><codestyle='white-space: nowrap; padding: 0;'>datepicker: {<br> dateParser: () => undefined<br>}</code> |
49
45
| dayNames | Set custom day names, else use names based on locale | string[]| - | <div><small>From <b>config</b>:</small></div><codestyle='white-space: nowrap; padding: 0;'>datepicker: {<br> dayNames: undefined<br>}</code> |
50
46
| disabled | Same as native disabled | boolean | - | <codestyle='white-space: nowrap; padding: 0;'>false</code> |
51
47
| events | Events to display on picker | DatepickerEvent[]| - ||
@@ -66,7 +62,7 @@ title: Datepicker
66
62
| mobileBreakpoint | Mobile breakpoint as `max-width` value | string | - | <div><small>From <b>config</b>:</small></div><codestyle='white-space: nowrap; padding: 0;'>datepicker: {<br> mobileBreakpoint: undefined<br>}</code> |
| mobileNative | Enable mobile native input if mobile agent | boolean | - | <div><small>From <b>config</b>:</small></div><codestyle='white-space: nowrap; padding: 0;'>datepicker: {<br> mobileNative: false<br>}</code> |
69
-
| v-model | The input value state | Date \|Date[]| - | <codestyle='white-space: nowrap; padding: 0;'>null</code> |
65
+
| v-model | The input value state | Date \|[]\| Date[]\|[Date, Date]| - | <codestyle='white-space: nowrap; padding: 0;'>null</code> |
70
66
| monthNames | Set custom month names, else use names based on locale | string[]| - | <div><small>From <b>config</b>:</small></div><codestyle='white-space: nowrap; padding: 0;'>datepicker: {<br> monthNames: undefined<br>}</code> |
71
67
| multiple | Same as native, also push new item to v-model instead of replacing | boolean | - | <codestyle='white-space: nowrap; padding: 0;'></code> |
72
68
| nearbyMonthDays | Show nearby month days | boolean | - | <div><small>From <b>config</b>:</small></div><codestyle='white-space: nowrap; padding: 0;'>datepicker: {<br> nearbyMonthDays: true<br>}</code> |
0 commit comments