ICalendarDaySlotBindings
interface
Slots
Bindings handed to the #day slot of <OrigamCalendar> — one object per cell in month view, providing the date and its contextual flags (today, past, outside month, weekend, disabled).
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- daterequiredDate
- The Date object this cell represents.
- eventsrequiredArray<IEvent>
- Events that fall on this date.
- isTodayrequiredboolean
- True when the cell represents today.
- isPastrequiredboolean
- True when the date is in the past relative to today.
- isOutsiderequiredboolean
- True when the cell is outside the currently displayed month (leading/trailing filler days).
- isWeekendrequiredboolean
- True when the day is Saturday or Sunday.
- isDisabledrequiredboolean
- True when the date matches a disabledDates rule.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Custom day cell in month view