matches property

matches property

A boolean value that returns true if the document currently matches the media query list, or false if not.

Definition:

@property
def matches(self):
    ...

See Also