日本語
@eightkk/vue-weave / core / CalendarEvent
Interface: CalendarEvent<D>
Defined in: src/core/eventCalendar.ts:38
An appointment of EventCalendar. D types the opaque data.
Type Parameters
D
D = unknown
Properties
allDay?
optionalallDay?:boolean
Defined in: src/core/eventCalendar.ts:49
Draws the event in the all-day row of the day and week views and moves it by whole days. Give it local midnights as start and end. Events of 24 hours or more are drawn in the all-day row too, but keep their times.
color?
optionalcolor?:string
Defined in: src/core/eventCalendar.ts:53
A CSS colour for the event's accent stripe. Overrides the tone colour.
data?
optionaldata?:D
Defined in: src/core/eventCalendar.ts:58
editable?
optionaleditable?:boolean
Defined in: src/core/eventCalendar.ts:57
Set false to keep this event fixed while the others can be edited. Default true (unless the calendar is readonly).
end
end:
number
Defined in: src/core/eventCalendar.ts:43
id
id:
string
Defined in: src/core/eventCalendar.ts:40
Unique among the events of a calendar.
label
label:
string
Defined in: src/core/eventCalendar.ts:44
recurrence?
optionalrecurrence?:CalendarRecurrence
Defined in: src/core/eventCalendar.ts:63
Makes the event a recurring series whose start and end are the first instance. EventCalendar draws concrete events only: expand series with expandRecurringEvents before passing them. Opt-in.
recurrenceId?
optionalrecurrenceId?:number
Defined in: src/core/eventCalendar.ts:70
The original start (epoch milliseconds) of the occurrence in its series, as RFC 5545 RECURRENCE-ID.
resourceId?
optionalresourceId?:string
Defined in: src/core/eventCalendar.ts:51
The resource (room, machine, person) of the event; with resources, the day view shows one column per resource.
seriesId?
optionalseriesId?:string
Defined in: src/core/eventCalendar.ts:68
The series an occurrence (or an override of one) belongs to. With recurrenceId, EventCalendar adds occurrence to its edit proposals and labels.recurring to the accessible name. Set by expandRecurringEvents.
start
start:
number
Defined in: src/core/eventCalendar.ts:42
Half-open interval [start, end) in epoch milliseconds. end must not be before start.
tone?
optionaltone?:ChartTone
Defined in: src/core/eventCalendar.ts:55
Tone of the event background. Default blue.