Specifies whether the user can select a range which overlapping an other element present in the datasource.
Specifies whether the beginning and the end of each range should be displayed as half selected day.
Function fired when a day is clicked.
Specifies the items of the default context menu.
Specify a custom renderer for data source. Works only with the style set to "custom".
The HTML Element passed in parameter represent a sub element of the "day" div. If you need to access the "day" div, use element.parentElement
.
This function is called during render for each day containing at least one event.
Specify a custom renderer for days.
The HTML Element passed in parameter represent a sub element of the "day" div. If you need to access the "day" div, use element.parentElement
.
This function is called during render for each day.
The elements that must be displayed on the calendar.
Could be:
Function fired when a day is right clicked.
The days that must be displayed as disabled.
The days of the week that must be displayed as disabled (0 for Sunday, 1 for Monday, etc.).
Specifies whether the data source must be rendered on disabled days.
Specifies whether the calendar header is displayed.
Specifies whether the weeks number are displayed.
Specifies whether the default context menu must be displayed when right clicking on a day.
Specifies whether the range selection is enabled.
The days of the week that must not be displayed (0 for Sunday, 1 for Monday, etc.).
The language/culture used for calendar rendering. Don't forget to import the corresponding language file. For more information, check the language section of the readme.
The HTML used to render the loading component.
The date until which days are enabled.
The date from which days are enabled.
Function fired when the mouse enter on a day.
Function fired when the mouse leaves a day.
The number of months displayed by the calendar.
Function fired when the visible period of the calendar is changed.
Function fired when the calendar rendering is ended.
Specifies whether the beginning and the end of each range should be displayed as rounded cells.
Function fired when a date range is selected.
The date on which the calendar should be opened. The day is not considered (only the month and the year).
The year on which the calendar should be opened.
If startDate
is provided, this option will be ignored.
Specifies the style used for displaying datasource ("background", "border" or "custom").
The starting day of the week. This option overrides the parameter define in the language file.
Function fired when the visible year of the calendar is changed.
This function will be fired only if the calendar is used in a full year mode. Otherwise, use periodChanged
event.
Generated using TypeDoc
Options used for calendar customization.