DatePicker.addEventListener method

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 WinJS version |
WinJS 1.0 |
|---|---|
|
Namespace |
WinJS.UI |
See also
Show: