writeClasses method

void writeClasses(
  1. Set s
)

Join all the elements of a set into one string and write back to the element. This is intended to be overridden by specific implementations.

Implementation

void writeClasses(Set s) {
  _element.setAttribute('class', s.join(' '));
}