classesList property

List<String> get classesList

Returns the list of class names of the attribute class.

Implementation

List<String> get classesList {
  var attribute = getAttribute('class');
  if (attribute == null) return [];
  return attribute.values ?? [];
}
set classesList (List value)

Sets the List of classes.

Implementation

set classesList(List value) => setAttribute('class', value);