DatePicker.addEventListener method

Applies to Windows only

Adds an event listener. You can add listeners to the onchange event.

Syntax


datePicker.addEventListener(type, listener, capture);

Parameters

type

Type: string

The type (name) of the event.

listener

Type: function

The function that handles the event.

capture

Type: Boolean

If true, specifies that capture should be initiated, otherwise false.

Return value

This method does not return a value.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

WinJS.UI

Library

Ui.js

See also

DatePicker

 

 

Show:
© 2014 Microsoft