1. deprecated
  2. DomName('Element.querySelector')
  3. Experimental()
Element query(String relativeSelectors)

Alias for querySelector. Note this function is deprecated because its semantics will be changing in the future.

Source

@deprecated
@DomName('Element.querySelector')
@Experimental()
Element query(String relativeSelectors) => querySelector(relativeSelectors);