Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

addListener method

Adds the callback function to the list of listeners for the MediaQueryList object. The function is called whenever the evaluation of the media query changes.

Internet Explorer 10

 

Syntax

var retval = MediaQueryList.addListener(listener);

Parameters

listener [in]

The event handler function to associate with the event.

Return value

Type: HRESULT

This method can return one of these values.

S_OK

Standards information

See also

MediaQueryList

 

 

Show:
© 2014 Microsoft