pub trait InputEventMethods {
    // Required methods
    fn GetData(&self) -> Option<DOMString>;
    fn IsComposing(&self) -> bool;
    fn IsTrusted(&self) -> bool;
    fn Constructor(
        global: &Window,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        type_: DOMString,
        eventInitDict: &InputEventInit,
    ) -> Result<Root<Dom<InputEvent>>, Error>;
}

Required Methods§

source

fn GetData(&self) -> Option<DOMString>

source

fn IsComposing(&self) -> bool

source

fn IsTrusted(&self) -> bool

source

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

Object Safety§

This trait is not object safe.

Implementors§