emptyByElement method

bool emptyByElement(
  1. T? element
)

Empties element children nodes. Also performs on mapped DOMNode.

Implementation

bool emptyByElement(T? element) => emptyByDOMNode(getMappedDOMNode(element));