Interface Calendar

Hierarchy

Index

Properties

Methods

Properties

public bubbleParent: boolean

public hidden: boolean

public id: string

public name: string

public selected: boolean

Methods

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

Parameters

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

public applyProperties(props: Dictionary)

Parameters

public createEvent(properties: Dictionary): Event

Parameters

Returns

Event

public fireEvent(name: string, event: Dictionary)

Parameters

public getBubbleParent(): boolean

Returns

boolean

public getEventById(id: number): Event

Parameters

  • id: number

Returns

Event

public getEventsBetweenDates(date1: Date, date2: Date): Event[]

Parameters

  • date1: Date
  • date2: Date

Returns

Event[]

public getEventsInDate(year: number, month: number, day: number): Event[]

Parameters

  • year: number
  • month: number
  • day: number

Returns

Event[]

public getEventsInMonth(year: number, month: number): Event[]

Parameters

  • year: number
  • month: number

Returns

Event[]

public getEventsInYear(year: number): Event[]

Parameters

  • year: number

Returns

Event[]

public getHidden(): boolean

Returns

boolean

public getId(): string

Returns

string

public getName(): string

Returns

string

public getSelected(): boolean

Returns

boolean

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

Parameters

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

public setBubbleParent(bubbleParent: boolean)

Parameters

  • bubbleParent: boolean