Interface: ResourceCalendar

ResourceCalendar

Extends

Methods

get(name) → {Object}

Gets the value of the specified property.
Parameters:
Name Type Description
name String The name of the property.
Inherited From:
Returns:
- The property's value.
Type
Object

getActiveCell() → {Object}

Returns the currently active cell.
Returns:
- The currently active cell.
Type
Object

getId() → {ID}

Returns the ID of the widget.
Inherited From:
Returns:
- The ID of the widget
Type
ID

getSections() → {Array}

Returns the sections.
Returns:
-
Type
Array

getSelectedDate() → {Date}

Returns the currently selected date.
Returns:
- The currently selected date.
Type
Date

getValue() → {Object}

Returns the widget's value.
Inherited From:
Returns:
- The widget's value.
Type
Object

gotoDate(date)

Selects the specified date in the calendar.
Parameters:
Name Type Description
date Date The date to select.

hide()

Hides the widget.
Inherited From:

isEnabled() → {Boolean}

Returns true if the widget is enabled.
Inherited From:
Returns:
- True if enabled, otherwise false.
Type
Boolean

nextWeek()

Displays the next week.

previousWeek()

Displays the previous week

refresh(includeSections)

Refreshes the calendar
Parameters:
Name Type Description
includeSections Boolean If true, also refreshes the sections.

set(name, value)

Sets the value of the specified property.
Parameters:
Name Type Description
name String The name of the property.
value Object The new value.
Inherited From:

setEnabled(Enabled)

Enables/disables the widget.
Parameters:
Name Type Description
Enabled Boolean True to enable the widget, false to disable.
Inherited From:

setLabel(Label)

Sets the label on the button.
Parameters:
Name Type Description
Label String Text or HTML to set as the label on this button.
Overrides:

setStyle(Object)

Set the widget-style
Parameters:
Name Type Description
Object Object with style-properties
Inherited From:

setValue()

Sets the widget's value.
Parameters:
Type Description
Object The new value.
Overrides:

show()

Shows the widget.
Overrides:

today()

Displays today.