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.

media property

Returns the serialized version of the media query list that was used to create the MediaQueryList (MQL) object.

This property is read-only.

Internet Explorer 10

 

Syntax

JavaScript
ptr = object.media

 

Property values

Type: DOMString

A string representing the MediaQueryList.

Standards information

See also

MediaQueryList

 

 

Show:
© 2014 Microsoft