com.vaadin.flow.internal.nodefeature.

Class ElementClassList

All Implemented Interfaces:

Serializable

public class ElementClassList extends SerializableNodeList<String>

Handles CSS class names for an element.

For internal use only. May be renamed or removed in a future release.

Since:

1.0

Author:

Vaadin Ltd

See Also:

  • Constructor Details

    • ElementClassList

      public ElementClassList(StateNode node)

      Creates a new class list for the given node.

      Parameters:

      node - the node that the list belongs to

  • Method Details

    • getClassList

      public ClassList getClassList()

      Creates a view into this list.

      Returns:

      a view into this list