removeByElement method

DOMNodeMapping<T>? removeByElement(
  1. T? element
)

Removes element from parent. Also performs on mapped DOMNode.

Implementation

DOMNodeMapping<T>? removeByElement(T? element) =>
    removeByDOMNode(getMappedDOMNode(element));