moveUpByElement method

bool moveUpByElement(
  1. T? element
)

Moves element up in the parent children list. Also performs on mapped DOMNode.

Implementation

bool moveUpByElement(T? element) =>
    moveUpByDOMNode(getMappedDOMNode(element));