Struct stdweb::web::event::ChangeEvent
[−]
[src]
pub struct ChangeEvent(_);
The ChangeEvent
is fired for input, select, and textarea
elements when a change to the element's value is committed
by the user. Unlike the input event, the change event is not
necessarily fired for each change to an element's value.
Trait Implementations
impl IEvent for ChangeEvent
[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 ChangeEvent
[src]
impl Clone for ChangeEvent
[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 ChangeEvent
[src]
impl<T: TryInto<Reference>> TryFrom<T> for ChangeEvent where
T::Error: Into<Box<Error>>,
[src]
T::Error: Into<Box<Error>>,