querySelector method

Element? querySelector(
  1. String selectors
)

The querySelector() method of the Element interface returns the first element that is a descendant of the element on which it is invoked that matches the specified group of selectors.

Implementation

external Element? querySelector(String selectors);