Adds an event listener. You can add listeners to the change 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] |
|
Namespace |
WinJS.UI |
|
Library |
|
See also
Build date: 12/5/2012