media
Collapse the table of content
Expand the table of content

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.

Syntax

JavaScript
ptr = object.media

 

Property values

Type: DOMString

A string representing the MediaQueryList.

Standards information

See also

MediaQueryList

 

 

Show:
© 2017 Microsoft