[]Struct augdom::event::HashChange

pub struct 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

MDN Documentation

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]

The initHashChangeEvent() method

MDN Documentation

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]

The initHashChangeEvent() method

MDN Documentation

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]

The initHashChangeEvent() method

MDN Documentation

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]

The initHashChangeEvent() method

MDN Documentation

This API requires the following crate features to be activated: HashChangeEvent

pub fn old_url(&self) -> String[src]

The oldURL getter

MDN Documentation

This API requires the following crate features to be activated: HashChangeEvent

pub fn new_url(&self) -> String[src]

The newURL getter

MDN Documentation

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]

impl Deref for HashChange[src]

type Target = HashChangeEvent

The resulting type after dereferencing.

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

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

impl IntoWasmAbi for HashChange[src]

type Abi = u32

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

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

impl JsCast for HashChange[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi