Trait stdweb::traits::IElement [] [src]

pub trait IElement: INode + IParentNode {
    fn class_list(&self) -> TokenList { ... }
}

The IElement interface represents an object of a Document. This interface describes methods and properties common to all kinds of elements.

(JavaScript docs)

Provided Methods

The Element.classList is a read-only property which returns a live TokenList collection of the class attributes of the element.

(JavaScript docs)

Implementors