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
Show file tree
Hide file tree
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
feat(mediaquerylist): adds api-reports
  • Loading branch information
mabasic committed Aug 31, 2022
commit 3b55eeb3b21b08a5562c9bb2bcb7cce253cf514c
13 changes: 9 additions & 4 deletions api-reports/2_12.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15450,11 +15450,16 @@ MediaList[JC] def item(index: Int): String
MediaList[JC] def length: Int
MediaList[JC] def mediaText: String
MediaList[JC] @scala.scalajs.js.annotation.JSBracketAccess def update(index: Int, v: String): Unit
MediaQueryList[JT] def addListener(listener: MediaQueryListListener): Unit
MediaQueryList[JT] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
MediaQueryList[JT] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
MediaQueryList[JT] def addListener(listener: MediaQueryListListener): Unit (@deprecated in 2.4.0)
MediaQueryList[JT] def dispatchEvent(evt: Event): Boolean
MediaQueryList[JT] def matches: Boolean
MediaQueryList[JT] var media: String
MediaQueryList[JT] def removeListener(listener: MediaQueryListListener): Unit
MediaQueryListListener[JT] def apply(mql: MediaQueryList): Unit
MediaQueryList[JT] def media: String
MediaQueryList[JT] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
MediaQueryList[JT] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
MediaQueryList[JT] def removeListener(listener: MediaQueryListListener): Unit (@deprecated in 2.4.0)
MediaQueryListListener[JT] def apply(mql: MediaQueryList): Unit (@deprecated in 2.4.0)
MediaSource[JC] def activeSourceBuffers: SourceBufferList
MediaSource[JC] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
MediaSource[JC] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
Expand Down
13 changes: 9 additions & 4 deletions api-reports/2_13.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15450,11 +15450,16 @@ MediaList[JC] def item(index: Int): String
MediaList[JC] def length: Int
MediaList[JC] def mediaText: String
MediaList[JC] @scala.scalajs.js.annotation.JSBracketAccess def update(index: Int, v: String): Unit
MediaQueryList[JT] def addListener(listener: MediaQueryListListener): Unit
MediaQueryList[JT] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
MediaQueryList[JT] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
MediaQueryList[JT] def addListener(listener: MediaQueryListListener): Unit (@deprecated in 2.4.0)
MediaQueryList[JT] def dispatchEvent(evt: Event): Boolean
MediaQueryList[JT] def matches: Boolean
MediaQueryList[JT] var media: String
MediaQueryList[JT] def removeListener(listener: MediaQueryListListener): Unit
MediaQueryListListener[JT] def apply(mql: MediaQueryList): Unit
MediaQueryList[JT] def media: String
MediaQueryList[JT] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
MediaQueryList[JT] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
MediaQueryList[JT] def removeListener(listener: MediaQueryListListener): Unit (@deprecated in 2.4.0)
MediaQueryListListener[JT] def apply(mql: MediaQueryList): Unit (@deprecated in 2.4.0)
MediaSource[JC] def activeSourceBuffers: SourceBufferList
MediaSource[JC] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
MediaSource[JC] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
Expand Down