packages/components/eui-calendar/models.ts
Interface for defining a day in the calendar.
Properties |
| date |
date:
|
Type : Date
|
|
Date object representing the day |
| disabled |
disabled:
|
Type : boolean
|
| Optional |
|
Indicates if the day is disabled |
| id |
id:
|
Type : number
|
|
Unique identifier for the day |
| isToday |
isToday:
|
Type : boolean
|
| Optional |
|
Indicates if the day is today (based on user's Machine day) |
| isWeekend |
isWeekend:
|
Type : boolean
|
| Optional |
|
Indicates if the day a weekend (Saturday, Sunday) |
| metadata |
metadata:
|
Type : Signal<EuiCalendarEvent[]>
|
|
Metadata associated with the day |