mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-03-28 15:40:04 +00:00
Merge pull request #2004 from lightpanda-io/nikneym/resize-unobserver
`ResizeObserver`: make `unobserve` available in JS context
This commit is contained in:
@@ -62,5 +62,6 @@ pub const JsApi = struct {
|
||||
|
||||
pub const constructor = bridge.constructor(ResizeObserver.init, .{});
|
||||
pub const observe = bridge.function(ResizeObserver.observe, .{});
|
||||
pub const unobserve = bridge.function(ResizeObserver.unobserve, .{});
|
||||
pub const disconnect = bridge.function(ResizeObserver.disconnect, .{});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user