Interface: ICalendarProxy¶
Hierarchy¶
-
ICalendarProxy
Implemented by¶
Summary¶
Properties¶
Class Properties¶
Currently none in this class.
Inherited Properties¶
Methods¶
Class Methods¶
- getCalendarType
- getEventLoadRange
- getEvents
- getEventsOfSelectedDate
- getEventsOfSelectedDateRange
- getIndicators
- getSelectedDate
- getSelectedDateRange
- getTargets
- scrollToDate
- setSelectedDate
- setSelectedDateRange
Inherited Methods¶
Methods¶
getCalendarType¶
▸ getCalendarType(): string
Returns: string
getEventLoadRange¶
▸ getEventLoadRange(): number
Returns: number
returns number of months before and after the currently selected month to load events. This is used to optimize the loading of events in the calendar. For example, if set to 1, events for the current month, the previous month, and the next month will be loaded. If set to 2, events for the current month, the two previous months, and the two next months will be loaded. This property is only applicable when CalendarType is set to Month. If set to 0, all events will be loaded.
getEvents¶
▸ getEvents(): any[]
Returns: any[]
return array of static events defined for the calendar section.
getEventsOfSelectedDate¶
▸ getEventsOfSelectedDate(): any
Returns: any
return event of selected date if any.
getEventsOfSelectedDateRange¶
▸ getEventsOfSelectedDateRange(): any[]
Returns: any[]
return array of events within selected date range.
getIndicators¶
▸ getIndicators(): any[]
Returns: any[]
return array of indicators displayed on the calendar.
getSelectedDate¶
▸ getSelectedDate(): Date
Returns: Date
getSelectedDateRange¶
▸ getSelectedDateRange(): IDateRangeProxy
Returns: IDateRangeProxy
getTargets¶
▸ getTargets(): any[]
Returns: any[]
return array of targets to be used for the calendar section. Each target is represented by a binding or rule that returns an array of data items. The calendar will use these targets to populate the events and execute the rules defined in the Event/IndicatorName to determine the events in the calendar.
scrollToDate¶
▸ scrollToDate(dateInput: any): any
Parameters:
| Name | Type | Description |
|---|---|---|
dateInput |
any |
Returns: any
setSelectedDate¶
▸ setSelectedDate(dateInput: any): any
Parameters:
| Name | Type | Description |
|---|---|---|
dateInput |
any |
Returns: any
setSelectedDateRange¶
▸ setSelectedDateRange(dateRange: IDateRangeProxy): any
Parameters:
| Name | Type | Description |
|---|---|---|
dateRange |
IDateRangeProxy |
Returns: any