The front text of the active menu announcement. The second part explains which month, year or yearsgroup is active.
The delay of the announcement in millisecond.
If the component gets focused, this announcement, the currently selected date and the current active menu is announced in a screen reader.
If empty, only the current active menu is announced.
The text "month". Used for the active menu announcement.
The text "to". Used for the active menu announcement of a years group to separate the first and last year.
The text "year". Used for the active menu announcement.
The text "years group". Used for the active menu announcement.
A list of available dates to select.
Classes added to the field.
Classes added to the inner field.
Classes added to the wrapper field.
Classes added to the field.
Classes added to the inner field.
Classes added to the field.
Classes added to the inner field.
Disables keyboard tab selection.
The selected end date to (Y-m-d).
Text added to labels of buttons which are inactive.
Label for next month button.
Label for next year button.
Label for next years button.
Label for previous month button.
Label for previous year button.
Label for previous years button.
Text added to labels to indicate a selected field.
Label for switch button in years view. The button is disabled in this view.
Label for switch to month overview button.
Label for switch to years overview button.
Language locale to use for calendar.
The maximum date that can be selected in Y-m-d format.
The minimum date that can be selected in Y-m-d format.
The month to set the calendar display to.
If set as number, the count starts at 0 (January -> 0). If set as string, the count starts at 1 (January -> 1).
Classes added to the field.
Classes added to the inner field.
Classes added to the field.
Classes added to the inner field.
Classes added to the wrapper field.
Should the calendar be used to select a date range.
The selected start date (Y-m-d).
Classes added to the field.
Classes added to the inner field.
Classes added to the wrapper field.
An object of translation strings which map all the text translation attributes of the component. Can be used to set the translations in a bulk. Not all translation attributes need to be defined. Set only the ones you want to translate. If not set, it falls back to the default which is the actual translation attribute.
If not set and a page-root component is present, it sets this value to the translations object of the page-root.
Makes it possible to unselect a selected date.
The year to set the calendar display to.
Classes added to the field.
Classes added to the inner field.
The title to use when showing the year selection view.
Set the current date of the calendar
If "silent" is set, you can only unselect a date by providing an empty "dateString", not the current selected date.
The date in YYYY-MM-DD format to set the calendar to
If set, no event is fired.
Switch the view of the calendar.
The click event from the element being used
The view to switch to
Emitted when controls are used to navigate.
Was the user navigating backwards.
The current view being used.
Optional
endThe current end date selected (If selecting range only).
The click event from the element selected.
The month number of the selection.
The current start date selected.
The year number of the selection.
Emitted when a date is selected.
The date string of the selected date in Y-m-d format.
The day number of the selection.
Optional
endThe current end date selected (If selecting range only).
The month number of the selection.
The current start date selected.
The year number of the selection.
Date got unselected.
The date string of the unselected date in Y-m-d format.
The day number of the deselection.
The month number of the deselection.
The year number of the deselection.
Generated using TypeDoc
Renders a calender component.
Each field text is wrapped with a "span" tag marked with class "hylo-calendar-inner". The classes of the fields are:
The header fields itself are positioned in areas with the following classes: