WinJS.UI.DatePicker constructor

3 out of 4 rated this helpful - Rate this topic

Initializes a new instance of the DatePicker control.

Syntax


var datePicker = new WinJS.UI.DatePicker(element, options);

Parameters

element

Type: HTMLElement

The DOM element associated with the DatePicker control.

options

Type: Object

The set of options to be applied initially to the DatePicker control. The options are the following:

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Namespace

WinJS.UI

Library

Ui.js

See also

DatePicker

 

 

Build date: 12/5/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.