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.

(JavaScript docs)

Trait Implementations

impl IEvent for FocusEvent
[src]

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

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]

Formats the value using the given formatter.

impl Clone for FocusEvent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl AsRef<Reference> for FocusEvent
[src]

Performs the conversion.

impl<T: TryInto<Reference>> TryFrom<T> for FocusEvent where
    T::Error: Into<Box<Error>>, 
[src]

The type returned in the event of a conversion error.

Performs the conversion.