Trait script::dom::bindings::codegen::Bindings::UIEventBinding::UIEvent_Binding::UIEventMethods
source · 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§
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>
Object Safety§
This trait is not object safe.