Element: alias matches with webkitMatchesSelector

This commit is contained in:
Halil Durak committed 2026-08-11 14:46:17 +03:00
1 parent 6312d43d97
commit 4b70b9523a
1 file changed
+1
+1
View File
@@ -2416,6 +2416,7 @@ pub const JsApi = struct {
pub const previousElementSibling = bridge.accessor(Element.previousElementSibling, null, .{});
pub const childElementCount = bridge.accessor(Element.getChildElementCount, null, .{});
pub const matches = bridge.function(Element.matches, .{});
pub const webkitMatchesSelector = bridge.function(Element.matches, .{});
pub const querySelector = bridge.function(Element.querySelector, .{});
pub const querySelectorAll = bridge.function(Element.querySelectorAll, .{});
pub const closest = bridge.function(Element.closest, .{});