We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_matchMedia
1 parent bf3994f commit 9f56006Copy full SHA for 9f56006
src/browser/html/window.zig
@@ -261,7 +261,7 @@ pub const Window = struct {
261
_ = self.timers.remove(id);
262
}
263
264
- pub fn _matchMedia(_: *const Window, media: []const u8, page: *Page) !MediaQueryList {
+ pub fn _matchMedia(_: *const Window, media: Env.String) !MediaQueryList {
265
return .{
266
.matches = false, // TODO?
267
.media = media.string,
0 commit comments