Interface Event

Hierarchy

Index

Properties

Methods

Properties

public alerts: Alert[]

public allDay: boolean

public availability: number

public begin: Date

public bubbleParent: boolean

public description: string

public end: Date

public extendedProperties: Dictionary

public hasAlarm: boolean

public id: string

public isDetached: boolean

public location: string

public notes: string

public recurenceRule: RecurrenceRule

public recurenceRules: RecurrenceRule[]

public reminders: Reminder[]

public status: number

public title: string

public visibility: number

Methods

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

Parameters

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

public addRecurrenceRule(rule: RecurrenceRule)

Parameters

public applyProperties(props: Dictionary)

Parameters

public createAlert(data: Dictionary): Alert

Parameters

Returns

Alert

public createRecurenceRule(data: Dictionary): RecurrenceRule

Parameters

Returns

RecurrenceRule

public createReminder(data: Dictionary): Reminder

Parameters

Returns

Reminder

public fireEvent(name: string, event: Dictionary)

Parameters

public getAlerts(): Alert[]

Returns

Alert[]

public getAllDay(): boolean

Returns

boolean

public getAvailability(): number

Returns

number

public getBegin(): Date

Returns

Date

public getBubbleParent(): boolean

Returns

boolean

public getDescription(): string

Returns

string

public getEnd(): Date

Returns

Date

public getExtendedProperties(): Dictionary

Returns

Dictionary

public getExtendedProperty(name: string): string

Parameters

  • name: string

Returns

string

public getHasAlarm(): boolean

Returns

boolean

public getId(): string

Returns

string

public getIsDetached(): boolean

Returns

boolean

public getLocation(): string

Returns

string

public getNotes(): string

Returns

string

public getRecurenceRule(): RecurrenceRule

Returns

RecurrenceRule

public getRecurenceRules(): RecurrenceRule[]

Returns

RecurrenceRule[]

public getReminders(): Reminder[]

Returns

Reminder[]

public getStatus(): number

Returns

number

public getTitle(): string

Returns

string

public getVisibility(): number

Returns

number

public refresh(): boolean

Returns

boolean

public remove(span: number): boolean

Parameters

  • span: number

Returns

boolean

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

Parameters

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

public removeRecurenceRule(rule: RecurrenceRule)

Parameters

public save(span: number): boolean

Parameters

  • span: number

Returns

boolean

public setAlerts(alerts: Alert[])

Parameters

public setAllDay(allDay: boolean)

Parameters

  • allDay: boolean

public setBegin(begin: Date)

Parameters

  • begin: Date

public setBubbleParent(bubbleParent: boolean)

Parameters

  • bubbleParent: boolean

public setEnd(end: Date)

Parameters

  • end: Date

public setExtendedProperty(name: string, value: string)

Parameters

  • name: string
  • value: string

public setLocation(location: string)

Parameters

  • location: string

public setNotes(notes: string)

Parameters

  • notes: string

public setRecurenceRule(recurenceRule: RecurrenceRule)

Parameters

public setRecurenceRules(recurenceRules: RecurrenceRule[])

Parameters

public setTitle(title: string)

Parameters

  • title: string