pub trait PopStateEventMethods {
    // Required methods
    fn State(&self, cx: SafeJSContext, retval: MutableHandleValue<'_>);
    fn IsTrusted(&self) -> bool;
    fn Constructor(
        global: &Window,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        type_: DOMString,
        eventInitDict: RootedTraceableBox<PopStateEventInit>,
    ) -> Result<Root<Dom<PopStateEvent>>, Error>;
}

Required Methods§

source

fn State(&self, cx: SafeJSContext, retval: MutableHandleValue<'_>)

source

fn IsTrusted(&self) -> bool

source

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

Object Safety§

This trait is not object safe.

Implementors§