querySelectorAll method - Element class - dart:html library (original) (raw)

description

ElementList<T> querySelectorAll<T extends Element>(

  1. String selectors )

Finds all descendent elements of this element that match the specified group of selectors.

selectors should be a string using CSS selector syntax.

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

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

Implementation

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