pub trait WheelEventMethods<D: DomTypes> {
    // 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§

source

fn DeltaX(&self) -> Finite<f64>

source

fn DeltaY(&self) -> Finite<f64>

source

fn DeltaZ(&self) -> Finite<f64>

source

fn DeltaMode(&self) -> u32

source

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, )

source

fn IsTrusted(&self) -> bool

source

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.

Implementors§