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

Removes an HTML attribute from one node, and adds it to another.

Note: This does not copy the value of the attribute, just the attribute name. The value will always be an empty string.

Source

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