W3cubDocs

/Dart 2

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

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-svg/AttributeClassSet/writeClasses.html