pub trait UIEventMethods<D: DomTypes> {
    // Required methods
    fn GetView(&self) -> Option<Root<Dom<Window>>>;
    fn Detail(&self) -> i32;
    fn InitUIEvent(
        &self,
        typeArg: DOMString,
        bubblesArg: bool,
        cancelableArg: bool,
        viewArg: Option<&Window>,
        detailArg: i32,
    );
    fn IsTrusted(&self) -> bool;
    fn Constructor(
        global: &Window,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        type_: DOMString,
        eventInitDict: &UIEventInit,
    ) -> Result<Root<Dom<UIEvent>>, Error>;
}

Required Methods§

source

fn GetView(&self) -> Option<Root<Dom<Window>>>

source

fn Detail(&self) -> i32

source

fn InitUIEvent( &self, typeArg: DOMString, bubblesArg: bool, cancelableArg: bool, viewArg: Option<&Window>, detailArg: i32, )

source

fn IsTrusted(&self) -> bool

source

fn Constructor( global: &Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, type_: DOMString, eventInitDict: &UIEventInit, ) -> Result<Root<Dom<UIEvent>>, Error>

Object Safety§

This trait is not object safe.

Implementors§