Trait script::dom::bindings::codegen::Bindings::CustomEventBinding::CustomEvent_Binding::CustomEventMethods
source · pub trait CustomEventMethods {
// Required methods
fn Detail(&self, cx: SafeJSContext) -> JSVal;
fn InitCustomEvent(
&self,
cx: SafeJSContext,
type_: DOMString,
bubbles: bool,
cancelable: bool,
detail: HandleValue<'_>
);
fn IsTrusted(&self) -> bool;
}