WinJS.UI.DatePicker constructor
Initializes a new instance of the DatePicker control.
Syntax
var datePicker = new WinJS.UI.DatePicker(element, options);
Parameters
element
Type: HTMLElementThe DOM element associated with the DatePicker control.
options
Type: ObjectThe set of options to be applied initially to the DatePicker control. The options are the following:
Requirements
Minimum WinJS version |
WinJS 1.0 |
Namespace |
WinJS.UI |