This topic has not yet been rated - Rate this topic

matches property

Returns TRUE if the list of media queries matches the state of the current window, or FALSE otherwise.

This property is read-only.

Internet Explorer 10

Syntax

JavaScript
ptr = object.matches

Property values

Type: boolean

State of the current window.

ValueCondition
True

The list of media queries matches the state of the current window.

False

The list of media queries doesn't match the state of the current window.

 

Standards information

See also

MediaQueryList

 

 

Send comments about this topic to Microsoft

Build date: 11/29/2012

Community Additions

ADD
© 2013 Microsoft. All rights reserved.