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