Skip to content

Missing Support for addEventListener/removeEventListener #86

@DaleSeo

Description

@DaleSeo

The addListener and removeListener methods of MediaQueryList are deprecated and using them now causes linting errors as seen below.

image

I'd like to request adding support for the addEventListener and removeEventListener methods so that they can be used instead as recommended on MDN.

This method exists primarily for backward compatibility; if possible, you should instead use addEventListener() to watch for the change event.

https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions