Struct stdweb::web::event::HashChangeEvent
[−]
[src]
pub struct HashChangeEvent(_);
The HashChangeEvent
is fired when the fragment
identifier of the URL has changed (the part of the URL
that follows the # symbol, including the # symbol).
Trait Implementations
impl IEvent for HashChangeEvent
[src]
fn event_type(&self) -> String
Returns a string containing the type of event. It is set when the event is constructed and is the name commonly used to refer to the specific event. Read more
fn prevent_default(&self)
Cancels the event if it is cancelable, without stopping further propagation of the event. Read more
impl Debug for HashChangeEvent
[src]
impl Clone for HashChangeEvent
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl AsRef<Reference> for HashChangeEvent
[src]
impl<T: TryInto<Reference>> TryFrom<T> for HashChangeEvent where
T::Error: Into<Box<Error>>,
[src]
T::Error: Into<Box<Error>>,