Trait script::dom::bindings::codegen::Bindings::PopStateEventBinding::PopStateEvent_Binding::PopStateEventMethods
source · 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§
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>
Object Safety§
This trait is not object safe.