You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MediaQueryList has an addListener function that takes a non-implementable (js.native) MediaQueryListListener instance. Instead it should take js.Function1[MediaQueryList, Any]
traitMediaQueryListextends js.Object {
/** Adds a new listener to the media query list. If the specified listener is already in the list, this method has no * effect.*/defaddListener(listener: MediaQueryListListener):Unit= js.native
}
/** 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
traitMediaQueryListListenerextends js.Object {
defapply(mql: MediaQueryList):Unit= js.native
}
MediaQueryList has an
addListener
function that takes a non-implementable (js.native)MediaQueryListListener
instance. Instead it should takejs.Function1[MediaQueryList, Any]
This was discussed in Discord here: https://discord.com/channels/632150470000902164/635668814956068864/1255179308021059756
The text was updated successfully, but these errors were encountered: