mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 23:23:28 +00:00
JsObject can now be used as a normal parameter. It'll receive the opaque value. This is largely useful when a Zig function takes an argument which it needs to pass back into a callback. JsThis is now a thin wrapper around JsObject for functions that was the JsObject of the receiver. This is for advanced usage where the Zig function wants to manipulate the v8.Object that represents the zig value. postAttach is an example of such usage.