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.

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