querySelectorAll<T extends Element> method

ElementList<T> querySelectorAll <T extends Element>(
  1. String selectors
)

Finds all descendant elements of this document fragment that match the specified group of selectors.

selectors should be a string using CSS selector syntax.

var items = document.querySelectorAll('.itemClassName');

For details about CSS selector syntax, see the CSS selector specification.

Implementation

ElementList<T> querySelectorAll<T extends Element>(String selectors) =>
    new _FrozenElementList<T>._wrap(_querySelectorAll(selectors));

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-html/DocumentFragment/querySelectorAll.html