[−]Struct augdom::event::HashChange
The fragment identifier of the URL has changed (the part of the URL after the #). MDN documentation
Methods from Deref<Target = HashChangeEvent>
pub fn init_hash_change_event(&self, type_arg: &str)
[src]
The initHashChangeEvent()
method
This API requires the following crate features to be activated: HashChangeEvent
pub fn init_hash_change_event_with_can_bubble_arg(
&self,
type_arg: &str,
can_bubble_arg: bool
)
[src]
&self,
type_arg: &str,
can_bubble_arg: bool
)
The initHashChangeEvent()
method
This API requires the following crate features to be activated: HashChangeEvent
pub fn init_hash_change_event_with_can_bubble_arg_and_cancelable_arg(
&self,
type_arg: &str,
can_bubble_arg: bool,
cancelable_arg: bool
)
[src]
&self,
type_arg: &str,
can_bubble_arg: bool,
cancelable_arg: bool
)
The initHashChangeEvent()
method
This API requires the following crate features to be activated: HashChangeEvent
pub fn init_hash_change_event_with_can_bubble_arg_and_cancelable_arg_and_old_url_arg(
&self,
type_arg: &str,
can_bubble_arg: bool,
cancelable_arg: bool,
old_url_arg: &str
)
[src]
&self,
type_arg: &str,
can_bubble_arg: bool,
cancelable_arg: bool,
old_url_arg: &str
)
The initHashChangeEvent()
method
This API requires the following crate features to be activated: HashChangeEvent
pub fn init_hash_change_event_with_can_bubble_arg_and_cancelable_arg_and_old_url_arg_and_new_url_arg(
&self,
type_arg: &str,
can_bubble_arg: bool,
cancelable_arg: bool,
old_url_arg: &str,
new_url_arg: &str
)
[src]
&self,
type_arg: &str,
can_bubble_arg: bool,
cancelable_arg: bool,
old_url_arg: &str,
new_url_arg: &str
)
The initHashChangeEvent()
method
This API requires the following crate features to be activated: HashChangeEvent
pub fn old_url(&self) -> String
[src]
The oldURL
getter
This API requires the following crate features to be activated: HashChangeEvent
pub fn new_url(&self) -> String
[src]
The newURL
getter
This API requires the following crate features to be activated: HashChangeEvent
Trait Implementations
impl Event for HashChange
[src]
impl AsRef<Event> for HashChange
[src]
impl AsRef<JsValue> for HashChange
[src]
impl From<HashChange> for JsValue
[src]
fn from(value: HashChange) -> Self
[src]
impl Deref for HashChange
[src]
type Target = HashChangeEvent
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl RefFromWasmAbi for HashChange
[src]
type Abi = u32
The wasm ABI type references to Self
are recovered from.
type Anchor = Ref<'static, HashChange>
The type that holds the reference to Self
for the duration of the invocation of the function that has an &Self
parameter. This is required to ensure that the lifetimes don't persist beyond one function call, and so that they remain anonymous. Read more
unsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor
[src]
impl FromWasmAbi for HashChange
[src]
type Abi = u32
The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more
unsafe fn from_abi(js: u32) -> Self
[src]
impl IntoWasmAbi for HashChange
[src]
type Abi = u32
The wasm ABI type that this converts into when crossing the ABI boundary. Read more
fn into_abi(self) -> u32
[src]
impl WasmDescribe for HashChange
[src]
impl OptionFromWasmAbi for HashChange
[src]
impl OptionIntoWasmAbi for HashChange
[src]
impl RefMutFromWasmAbi for HashChange
[src]
type Abi = u32
Same as RefFromWasmAbi::Abi
type Anchor = RefMut<'static, HashChange>
Same as RefFromWasmAbi::Anchor
unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
[src]
impl JsCast for HashChange
[src]
fn instanceof(val: &JsValue) -> bool
[src]
fn unchecked_from_js(val: JsValue) -> Self
[src]
fn unchecked_from_js_ref(_val: &JsValue) -> &Self
[src]
fn has_type<T>(&self) -> bool where
T: JsCast,
[src]
T: JsCast,
fn dyn_into<T>(self) -> Result<T, Self> where
T: JsCast,
[src]
T: JsCast,
fn dyn_ref<T>(&self) -> Option<&T> where
T: JsCast,
[src]
T: JsCast,
fn unchecked_into<T>(self) -> T where
T: JsCast,
[src]
T: JsCast,
fn unchecked_ref<T>(&self) -> &T where
T: JsCast,
[src]
T: JsCast,
fn is_instance_of<T>(&self) -> bool where
T: JsCast,
[src]
T: JsCast,
fn is_type_of(val: &JsValue) -> bool
[src]
Auto Trait Implementations
impl !Send for HashChange
impl !Sync for HashChange
impl Unpin for HashChange
impl UnwindSafe for HashChange
impl RefUnwindSafe for HashChange
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
[src]
T: IntoWasmAbi,
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi