Skip to content

Class: CalendarSectionProxy

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 CalendarSectionProxy(context: IContext): CalendarSectionProxy

Overrides SectionProxy.constructor

Parameters:

Name Type
context IContext

Returns: CalendarSectionProxy

Methods

getSelectedDate

getSelectedDate(): Date

Implementation of ICalendarSectionProxy

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

Returns: Date


scrollToDate

scrollToDate(dateInput: any): void

Implementation of ICalendarSectionProxy

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 ICalendarSectionProxy

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