pub trait FocusEventMethods {
    // Required methods
    fn GetRelatedTarget(&self) -> Option<Root<Dom<EventTarget>>>;
    fn IsTrusted(&self) -> bool;
    fn Constructor(
        global: &Window,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        typeArg: DOMString,
        focusEventInitDict: &FocusEventInit,
    ) -> Result<Root<Dom<FocusEvent>>, Error>;
}

Required Methods§

source

fn GetRelatedTarget(&self) -> Option<Root<Dom<EventTarget>>>

source

fn IsTrusted(&self) -> bool

source

fn Constructor( global: &Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, typeArg: DOMString, focusEventInitDict: &FocusEventInit, ) -> Result<Root<Dom<FocusEvent>>, Error>

Object Safety§

This trait is not object safe.

Implementors§