Module Calendar

Index

Variables

Interfaces

Functions

Variables

AUTHORIZATION_AUTHORIZED: number

AUTHORIZATION_DENIED: number

AUTHORIZATION_RESTRICTED: number

AUTHORIZATION_UNKNOWN: number

AVAILABILITY_BUSY: number

AVAILABILITY_FREE: number

AVAILABILITY_NOTSUPPORTED: number

AVAILABILITY_TENTATIVE: number

AVAILABILITY_UNAVAILABLE: number

METHOD_ALERT: number

METHOD_DEFAULT: number

METHOD_EMAIL: number

METHOD_SMS: number

RECURRENCEFREQUENCY_DAILY: number

RECURRENCEFREQUENCY_MONTHLY: number

RECURRENCEFREQUENCY_WEEKLY: number

RECURRENCEFREQUENCY_YEARLY: number

SPAN_FUTUREEVENTS: number

SPAN_THISEVENT: number

STATE_DISMISSED: number

STATE_FIRED: number

STATE_SCHEDULED: number

STATUS_CANCELED: number

STATUS_CONFIRMED: number

STATUS_NONE: number

STATUS_TENTATIVE: number

VISIBILITY_CONFIDENTIAL: number

VISIBILITY_DEFAULT: number

VISIBILITY_PRIVATE: number

VISIBILITY_PUBLIC: number

allAlerts: Alert[]

allCalendars: Calendar[]

allEditableCalendars: Calendar[]

bubbleParent: boolean

defaultCalendar: Calendar

eventsAuthorization: number

selectableCalendars: Calendar[]

Functions

addEventListener(name: string, callback: (...args: any[]) => any)

Parameters

  • name: string
  • callback: (...args: any[]) => any

applyProperties(props: Dictionary)

Parameters

fireEvent(name: string, event: Dictionary)

Parameters

getAllAlerts(): Alert[]

Returns

Alert[]

getAllCalendars(): Calendar[]

Returns

Calendar[]

getAllEditableCalendars(): Calendar[]

Returns

Calendar[]

getBubbleParent(): boolean

Returns

boolean

getCalendarById(id: number): Calendar

Parameters

  • id: number

Returns

Calendar

getDefaultCalendar(): Calendar

Returns

Calendar

getEventsAuthorization(): number

Returns

number

getSelectableCalendars(): Calendar[]

Returns

Calendar[]

removeEventListener(name: string, callback: (...args: any[]) => any)

Parameters

  • name: string
  • callback: (...args: any[]) => any

requestEventsAuthorization(callback: (...args: any[]) => any)

Parameters

  • callback: (...args: any[]) => any

setBubbleParent(bubbleParent: boolean)

Parameters

  • bubbleParent: boolean