Skip to content

Updates MediaQueryList to extend EventTarget #724

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Sep 5, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat(mediaquerylist): deprecates MediaQueryListListener
  • Loading branch information
mabasic committed Aug 31, 2022
commit f4f76dae47f1b3308d36399a2775a88ffb043cf0
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@ package org.scalajs.dom

import scala.scalajs.js

/** A MediaQueryList object maintains a list of media queries on a document, and handles sending notifications to
* listeners when the media queries on the document change.
*/
@js.native
@deprecated("See MediaQueryList for more info", "2.4.0")
trait MediaQueryListListener extends js.Object {
def apply(mql: MediaQueryList): Unit = js.native
}