Trait script::dom::bindings::codegen::Bindings::StorageEventBinding::StorageEvent_Binding::StorageEventMethods
source · pub trait StorageEventMethods {
// Required methods
fn GetKey(&self) -> Option<DOMString>;
fn GetOldValue(&self) -> Option<DOMString>;
fn GetNewValue(&self) -> Option<DOMString>;
fn Url(&self) -> DOMString;
fn GetStorageArea(&self) -> Option<Root<Dom<Storage>>>;
fn InitStorageEvent(
&self,
type_: DOMString,
bubbles: bool,
cancelable: bool,
key: Option<DOMString>,
oldValue: Option<DOMString>,
newValue: Option<DOMString>,
url: USVString,
storageArea: Option<&Storage>,
);
fn IsTrusted(&self) -> bool;
fn Constructor(
global: &Window,
proto: Option<HandleObject<'_>>,
can_gc: CanGc,
type_: DOMString,
eventInitDict: &StorageEventInit,
) -> Result<Root<Dom<StorageEvent>>, Error>;
}
Required Methods§
fn GetKey(&self) -> Option<DOMString>
fn GetOldValue(&self) -> Option<DOMString>
fn GetNewValue(&self) -> Option<DOMString>
fn Url(&self) -> DOMString
fn GetStorageArea(&self) -> Option<Root<Dom<Storage>>>
fn InitStorageEvent( &self, type_: DOMString, bubbles: bool, cancelable: bool, key: Option<DOMString>, oldValue: Option<DOMString>, newValue: Option<DOMString>, url: USVString, storageArea: Option<&Storage>, )
fn IsTrusted(&self) -> bool
fn Constructor( global: &Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, type_: DOMString, eventInitDict: &StorageEventInit, ) -> Result<Root<Dom<StorageEvent>>, Error>
Object Safety§
This trait is not object safe.