pub trait HashChangeEventMethods<D: DomTypes> {
    // Required methods
    fn OldURL(&self) -> USVString;
    fn NewURL(&self) -> USVString;
    fn IsTrusted(&self) -> bool;
    fn Constructor(
        global: &Window,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        type_: DOMString,
        eventInitDict: &HashChangeEventInit,
    ) -> Result<Root<Dom<HashChangeEvent>>, Error>;
}

Required Methods§

source

fn OldURL(&self) -> USVString

source

fn NewURL(&self) -> USVString

source

fn IsTrusted(&self) -> bool

source

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

Object Safety§

This trait is not object safe.

Implementors§