ICalendarEventSlotBindings
interface
Calendar
Slot bindings injected into the #event slot of OrigamCalendar — one set per visible event. Provides the IEvent payload plus temporal context flags (isPast, isToday).
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.
- eventrequiredIEvent
- The calendar event data object being rendered.
- viewrequiredTCalendarView
- The active calendar view when this event is rendered (day, week, month, agenda, …).
- isPastrequiredboolean
- True when the event end time is strictly before the current moment.
- isTodayrequiredboolean
- True when the event falls on today's date.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Custom event chip via the #event slot