Function script::dom::bindings::codegen::Bindings::CustomEventBinding::CustomEvent_Binding::Wrap
source ยท pub unsafe fn Wrap(
cx: SafeJSContext,
scope: &GlobalScope,
given_proto: Option<HandleObject<'_>>,
object: Box<CustomEvent>,
_can_gc: CanGc,
) -> Root<Dom<CustomEvent>>