packages/components/eui-calendar/models.ts
Properties |
| cbToday |
cbToday:
|
Type : function
|
|
Callback function when navigate to today's date. |
| currentDate |
currentDate:
|
Type : Date
|
|
Mode of the calendar header (monthly, weekly, or daily). |
| formattedDate |
formattedDate:
|
Type : string
|
|
Formatted date string for display in the header (e.g., "September 2023" or "Week 36, 2023"). It is formatted based on the current mode. |
| isToday |
isToday:
|
Type : boolean
|
|
True if the current date is today. |
| mode |
mode:
|
Type : EuiCalendarMode
|
|
Mode of the calendar header (monthly, weekly, or daily). |
| next |
next:
|
Type : function
|
|
Callback function when navigate to the next month/week/day. |
| previous |
previous:
|
Type : function
|
|
Callback function when navigate to the previous month/week/day. |