Trait script::dom::bindings::codegen::Bindings::WheelEventBinding::WheelEvent_Binding::WheelEventMethods
source · pub trait WheelEventMethods {
// Required methods
fn DeltaX(&self) -> Finite<f64>;
fn DeltaY(&self) -> Finite<f64>;
fn DeltaZ(&self) -> Finite<f64>;
fn DeltaMode(&self) -> u32;
fn InitWheelEvent(
&self,
typeArg: DOMString,
bubblesArg: bool,
cancelableArg: bool,
viewArg: Option<&Window>,
detailArg: i32,
deltaX: Finite<f64>,
deltaY: Finite<f64>,
deltaZ: Finite<f64>,
deltaMode: u32,
);
fn IsTrusted(&self) -> bool;
fn Constructor(
global: &Window,
proto: Option<HandleObject<'_>>,
can_gc: CanGc,
typeArg: DOMString,
wheelEventInitDict: &WheelEventInit,
) -> Result<Root<Dom<WheelEvent>>, Error>;
}
Required Methods§
fn DeltaX(&self) -> Finite<f64>
fn DeltaY(&self) -> Finite<f64>
fn DeltaZ(&self) -> Finite<f64>
fn DeltaMode(&self) -> u32
fn InitWheelEvent( &self, typeArg: DOMString, bubblesArg: bool, cancelableArg: bool, viewArg: Option<&Window>, detailArg: i32, deltaX: Finite<f64>, deltaY: Finite<f64>, deltaZ: Finite<f64>, deltaMode: u32, )
fn IsTrusted(&self) -> bool
fn Constructor( global: &Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, typeArg: DOMString, wheelEventInitDict: &WheelEventInit, ) -> Result<Root<Dom<WheelEvent>>, Error>
Object Safety§
This trait is not object safe.