void classFollows(String name, Element toElement, Element fromElement)

Removes a class from one node, and adds it to another.

Source

void classFollows(String name, Element toElement, Element fromElement) {
  jsElement.callMethod('classFollows', [name, toElement, fromElement]);
}