Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WinJS.UI.TimePicker constructor

Applies to Windows only

Initializes a new instance of a TimePicker control.

Syntax


var timePicker = new WinJS.UI.TimePicker(element, options);

Parameters

element

Type: HTMLElement

The DOM element associated with the TimePicker control.

options

Type: Object

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

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.UI

See also

TimePicker

 

 

Show: