mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-09-15 07:19:20 -04:00
Element: alias matches with webkitMatchesSelector
This commit is contained in:
1 file changed
+1
@@ -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, .{});
|
||||
|
||||
Reference in new issue
Block a user