pub trait ProgressEventMethods<D: DomTypes> {
    // Required methods
    fn LengthComputable(&self) -> bool;
    fn Loaded(&self) -> u64;
    fn Total(&self) -> u64;
    fn IsTrusted(&self) -> bool;
    fn Constructor(
        global: &GlobalScope,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        type_: DOMString,
        eventInitDict: &ProgressEventInit,
    ) -> Result<Root<Dom<ProgressEvent>>, Error>;
}

Required Methods§

source

fn LengthComputable(&self) -> bool

source

fn Loaded(&self) -> u64

source

fn Total(&self) -> u64

source

fn IsTrusted(&self) -> bool

source

fn Constructor( global: &GlobalScope, proto: Option<HandleObject<'_>>, can_gc: CanGc, type_: DOMString, eventInitDict: &ProgressEventInit, ) -> Result<Root<Dom<ProgressEvent>>, Error>

Object Safety§

This trait is not object safe.

Implementors§