Trait script::dom::bindings::codegen::Bindings::FocusEventBinding::FocusEvent_Binding::FocusEventMethods
source · pub trait FocusEventMethods<D: DomTypes> {
// 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§
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>
Object Safety§
This trait is not object safe.