logo

/repo|v2.1.3

Typedef

EventObject:

object

Object to create/modify events.

PROPERTIES
NameTypeDescription

id

[ string ]

Event id.

calendarId

[ string ]

Calendar id.

title

[ string ]

Event title.

body

[ string ]

Body content of the event.

isAllday

[ string ]

Whether the event is all day or not.

start

[ stringnumberDateTZDate ]

Start time of the event.

end

[ stringnumberDateTZDate ]

End time of the event.

goingDuration

[ number ]

Travel time which is taken to go in minutes.

comingDuration

[ number ]

Travel time which is taken to come back in minutes.

location

[ string ]

Location of the event.

attendees

[ Array ]

Attendees of the event.

category

[ string ]

Category of the event. Available categories are 'milestone', 'task', 'time' and 'allday'.

dueDateClass

[ string ]

Classification of work events. (before work, before lunch, before work)

recurrenceRule

[ string ]

Recurrence rule of the event.

state

[ string ]

State of the event. Available states are 'Busy', 'Free'.

isVisible

[ boolean ]

Whether the event is visible or not.

isPending

[ boolean ]

Whether the event is pending or not.

isFocused

[ boolean ]

Whether the event is focused or not.

isReadOnly

[ boolean ]

Whether the event is read only or not.

isPrivate

[ boolean ]

Whether the event is private or not.

color

[ string ]

Text color of the event.

backgroundColor

[ string ]

Background color of the event.

dragBackgroundColor

[ string ]

Background color of the event during dragging.

borderColor

[ string ]

Left border color of the event.

customStyle

[ object ]

Custom style of the event. The key of CSS property should be camelCase (e.g. {'fontSize': '12px'})

raw

[ * ]

Raw data of the event. it's an arbitrary property for anything.

Resizable