method

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

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

Source

@deprecated
@Experimental()
@DomName('DocumentFragment.querySelector')
Element query(String relativeSelectors) {
  return querySelector(relativeSelectors);
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/DocumentFragment/query.html