QueryCollection.listen method

0 out of 2 rated this helpful - Rate this topic

Registers the listener for the specified event on all the elements in the collection.

Syntax


queryCollection.listen(eventType, listener, capture);

Parameters

eventType

Type: string

The name of the event.

listener

Type: function

The event handler function to be called when the event occurs.

capture

Type: Boolean

true if capture == true is to be passed to addEventListener; 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.Utilities

Library

Base.js

See also

QueryCollection

 

 

Build date: 12/5/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.