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.

typescript

API

Properties

Every property declared by this interface, with its type, optionality and default.

event
required
IEvent
The calendar event data object being rendered.
view
required
TCalendarView
The active calendar view when this event is rendered (day, week, month, agenda, …).
isPast
required
boolean
True when the event end time is strictly before the current moment.
isToday
required
boolean
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

vue