Function quickjs_runtime::reflection::eventtarget::dispatch_static_event
source ยท pub fn dispatch_static_event(
q_ctx: &QuickJsRealmAdapter,
proxy_class_name: &str,
event_id: &str,
event: QuickJsValueAdapter,
) -> Result<bool, JsError>
Expand description
dispatch an Event on a Proxy class the return value is false if event is cancelable and at least one of the event listeners which received event called Event.preventDefault. Otherwise it returns true