QueryCollection.listen method
Registers the listener for the specified event on all the elements in the collection.
Syntax
queryCollection.listen(eventType, listener, capture);
Parameters
eventType
Type: stringThe name of the event.
listener
Type: functionThe event handler function to be called when the event occurs.
capture
Type: Booleantrue if capture == true is to be passed to addEventListener; otherwise, false.
Return value
This method does not return a value.
Requirements
Minimum WinJS version |
WinJS 1.0 |
Namespace |
WinJS.Utilities |