DatePicker.addEventListener method
Adds an event listener. You can add listeners to the onchange event.
Syntax
datePicker.addEventListener(type, listener, capture);
Parameters
type
Type: stringThe type (name) of the event.
listener
Type: functionThe function that handles the event.
capture
Type: BooleanIf true, specifies that capture should be initiated, otherwise false.
Return value
This method does not return a value.
Requirements
Minimum WinJS version |
WinJS 1.0 |
Namespace |
WinJS.UI |