writeClasses method

void writeClasses (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(' '));
}