MCPcopy Create free account
hub / github.com/angular/components / getNodes

Function getNodes

src/material/tree/tree-using-tree-control.spec.ts:753–755  ·  view source on GitHub ↗
(treeElement: Element)

Source from the content-addressed store, hash-verified

751}
752
753function getNodes(treeElement: Element): HTMLElement[] {
754 return [].slice.call(treeElement.querySelectorAll('.mat-tree-node, .mat-nested-tree-node'))!;
755}
756
757function expectFlatTreeToMatch(
758 treeElement: Element,

Callers 4

expectFlatTreeToMatchFunction · 0.70
checkNodeDescendantsFunction · 0.70
expectNestedTreeToMatchFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected