dart / 1 / dart-svg / attributeclassset / writeclasses.html

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.

Source

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/1.24.3/dart-svg/AttributeClassSet/writeClasses.html