findByTag

JSAny? findByTag(

  1. String tagName
)

Finds a single DOM element with the given tag name. Throws if zero or more than one element is found.

Implementation

JSAny? findByTag(String tagName) =>
    _findRenderedDOMComponentWithTag(_container, tagName);