Calendar API

Methods
destructor removes a calendar instance and releases occupied resources
getValue returns the selected date
link links a calendar to another calendar for selecting a date range
setValue selects a date in the calendar
showDate shows a specified date and/or opens the calendar in one of the available modes
paint repaints a calendar on a page
Events
beforeChange fires before the change of date selection
change fires on change of date selection
dateHover fires when the mouse pointer is over a date
Properties
block allows disabling some date intervals, day labels are dimmed
css adds style classes to Calendar
date defines the date that will be opened when the calendar is created
dateFormat defines the format of dates in –°alendar
mark adds a CSS class to specific days
range enables/disables the possibility to select a rang of dates on the calendar
thisMonthOnly hides dates of the previous/next months relative to the currently displayed one
timeFormat defines the time format for a timepicker in the calendar
timePicker adds a timepicker into the calendar
value selects the day (adds a round blue marker)
view the mode of Calendar initialization
weekNumbers defines whether to show the numbers of weeks
weekStart sets the starting day of the week
width sets the width of the calendar
Back to top