Struct stdweb::web::event::FocusEvent
[−]
[src]
pub struct FocusEvent(_);
The FocusEvent
is fired when an element has received focus. The main
difference between this event and focusin is that only the latter bubbles.
Trait Implementations
impl IEvent for FocusEvent
[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 IFocusEvent for FocusEvent
[src]
impl Debug for FocusEvent
[src]
impl Clone for FocusEvent
[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 FocusEvent
[src]
impl<T: TryInto<Reference>> TryFrom<T> for FocusEvent where
T::Error: Into<Box<Error>>,
[src]
T::Error: Into<Box<Error>>,