MCPcopy
hub / github.com/angular/angular / queryAll

Method queryAll

packages/core/src/debug/debug_node.ts:328–332  ·  view source on GitHub ↗

* @returns All `DebugElement` matches for the predicate at any depth in the subtree.

(predicate: Predicate<DebugElement>)

Source from the content-addressed store, hash-verified

326 * @returns All `DebugElement` matches for the predicate at any depth in the subtree.
327 */
328 queryAll(predicate: Predicate<DebugElement>): DebugElement[] {
329 const matches: DebugElement[] = [];
330 _queryAll(this, predicate, matches, true);
331 return matches;
332 }
333
334 /**
335 * @returns All `DebugNode` matches for the predicate at any depth in the subtree.

Callers 15

queryMethod · 0.95
styleCountFunction · 0.80
debug_node_spec.tsFile · 0.80
animation_spec.tsFile · 0.80
listener_spec.tsFile · 0.80
lifecycle_spec.tsFile · 0.80
styling_spec.tsFile · 0.80
attributes_spec.tsFile · 0.80

Calls 1

_queryAllFunction · 0.85

Tested by 1