Trait stdweb::web::IHtmlElement [] [src]

pub trait IHtmlElement: IElement {
    fn focus(&self) { ... }
fn blur(&self) { ... }
fn dataset(&self) -> StringMap { ... } }

The IHtmlElement interface represents any HTML element.

(JavaScript docs)

Provided Methods

Sets focus on the specified element, if it can be focused.

(JavaScript docs)

Removes keyboard focus from the current element.

(JavaScript docs)

Allows access, both in reading and writing, to all of the custom data attributes (data-*) set on the element, either in HTML or in the DOM.

(JavaScript docs)

Implementors