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;
}

Required Methods§

source

fn Detail(&self, cx: SafeJSContext) -> JSVal

source

fn InitCustomEvent( &self, cx: SafeJSContext, type_: DOMString, bubbles: bool, cancelable: bool, detail: HandleValue<'_> )

source

fn IsTrusted(&self) -> bool

Implementors§