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
Définition
La définition TypeScript de l'interface telle que trouvée dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.
API
Propriétés
Chaque propriété déclarée par cette interface, avec son type, son caractère optionnel et sa valeur par défaut.
- daterequisDate
- The Date object this cell represents.
- eventsrequisArray<IEvent>
- Events that fall on this date.
- isTodayrequisboolean
- True when the cell represents today.
- isPastrequisboolean
- True when the date is in the past relative to today.
- isOutsiderequisboolean
- True when the cell is outside the currently displayed month (leading/trailing filler days).
- isWeekendrequisboolean
- True when the day is Saturday or Sunday.
- isDisabledrequisboolean
- True when the date matches a disabledDates rule.
Écosystème
Utilisé par
Composants et composables qui étendent ou consomment cette interface.
Usage
Exemples
Extraits de code prêts à coller utilisant cette interface.
Custom day cell in month view