File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
dom/src/main/scala/org/scalajs/dom Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ trait MediaQueryList extends EventTarget {
1818 def matches : Boolean = js.native
1919
2020 /** A string representing a serialized media query. */
21- var media : String = js.native
21+ def media : String = js.native
2222
2323 /** Adds to the MediaQueryList a callback which is invoked whenever the media query status—whether or not the document
2424 * matches the media queries in the list—changes.
@@ -27,7 +27,7 @@ trait MediaQueryList extends EventTarget {
2727 * watch for the change event.
2828 * @deprecated
2929 */
30- @ deprecated(" Use addEventListener() instead" , " 2.3 .0" )
30+ @ deprecated(" Use addEventListener() instead" , " 2.4 .0" )
3131 def addListener (listener : MediaQueryListListener ): Unit = js.native
3232
3333 /** Removes the specified listener callback from the callbacks to be invoked when the MediaQueryList changes media
@@ -38,6 +38,6 @@ trait MediaQueryList extends EventTarget {
3838 * to remove change notification callbacks (which should have previously been added using addEventListener()).
3939 * @deprecated
4040 */
41- @ deprecated(" Use removeEventListener() instead" , " 2.3 .0" )
41+ @ deprecated(" Use removeEventListener() instead" , " 2.4 .0" )
4242 def removeListener (listener : MediaQueryListListener ): Unit = js.native
4343}
You can’t perform that action at this time.
0 commit comments