Skip to content

Class: CalendarProxy

Hierarchy

Implements

Summary

Constructors

Properties

Class Properties

Currently none in this class.

Inherited Properties

Accessors

Class Accessors

Currently none in this class.

Inherited Accessors

Methods

Class Methods

Inherited Methods

Constructors

constructor

+ new CalendarProxy(context: IContext): CalendarProxy

Overrides SectionProxy.constructor

Parameters:

Name Type
context IContext

Returns: CalendarProxy

Methods

getSelectedDate

getSelectedDate(): Date

Implementation of ICalendarProxy

Returns the selected date based on device's local time zone via JavaScript Date Object

Returns: Date


scrollToDate

scrollToDate(dateInput: any): void

Implementation of ICalendarProxy

Scrolls the calendar to the specified date based on device's local time zone. Accepted values: date string in "yyyy-MM-dd" or "yyyy-MM-ddThh:mm:ss" format, JavaScript Date Object. Mobie only, not supported on the Web.

Parameters:

Name Type Description
dateInput any

Returns: void


setSelectedDate

setSelectedDate(dateInput: any): void

Implementation of ICalendarProxy

Changes the selected date in the calendar based on device's local time zone. Accepted inputs: date string in "yyyy-MM-dd" or "yyyy-MM-ddThh:mm:ss" format, JavaScript Date Object.

Parameters:

Name Type Description
dateInput any

Returns: void