Allows users to pick a date value.
Initializes a new instance of the DatePicker control.
The DOM element associated with the DatePicker control.
The set of options to be applied initially to the DatePicker control. The options are the following: calendar, current, datePattern, disabled, maxYear, minYear, monthPattern, yearPattern.
Gets or sets the calendar to use.
Gets or sets the current date of the DatePicker. You can use either a date string or a Date object to set this property.
Gets or sets the display pattern for the date. The default date pattern is day.integer(2). You can change the date pattern by changing the number of integers displayed.
Specifies whether the DatePicker is disabled.
Gets the DOM element for the DatePicker.
Gets or sets the maximum Gregorian year available for picking.
Gets or sets the minimum Gregorian year available for picking.
Gets or sets the display pattern for the month. The default month pattern is month.abbreviated. You can change the month pattern to the following values: month.full. The full name of the month. month.abbreviated(n). You can use abbreviated with or without specifying the number of letters in the abbreviation. If you do specify the number of letters, the actual length of the month name that appears may vary. month.solo.full. A representation of the month that is suitable for stand-alone display. You can also use month.solo.abbreviated(n). month.integer(n). You can use integer with or without specifying the number of integers.
Gets or sets the display pattern for the year. The default year pattern is year.full. You can change the year pattern to the following values: year.abbreviated(n). You can use abbreviated with or without specifying the number of letters in the abbreviation.
Adds an event listener.
The type (name) of the event.
The function that handles the event.
If true, specifies that capture should be initiated, otherwise false.
Raises an event of the specified type and with additional properties.
The type (name) of the event.
The set of additional properties to be attached to the event object when the event is raised.
boolean
true if preventDefault was called on the event, otherwise false.
Releases resources held by this DatePicker. Call this method when the DatePicker is no longer needed. After calling this method, the DatePicker becomes unusable.
Occurs when any of the controls are changed by the user.
An object that contains information about the event.
Raises an event of the specified type and with additional properties.
The type (name) of the event.
The set of additional properties to be attached to the event object when the event is raised.
boolean
true if preventDefault was called on the event, otherwise false.
Removes a listener for the specified event.
The name of the event for which to remove a listener.
The listener.
Optional. The same value that was passed to addEventListener for this listener. It may be omitted if it was omitted when calling addEventListener.