MCPcopy Index your code
hub / github.com/angular/components / _getLevelAccessor

Method _getLevelAccessor

src/cdk/tree/tree.ts:731–733  ·  view source on GitHub ↗

Level accessor, used for compatibility between the old Tree and new Tree

()

Source from the content-addressed store, hash-verified

729
730 /** Level accessor, used for compatibility between the old Tree and new Tree */
731 _getLevelAccessor() {
732 return this.treeControl?.getLevel?.bind(this.treeControl) ?? this.levelAccessor;
733 }
734
735 /** Children accessor, used for compatibility between the old Tree and new Tree */
736 _getChildrenAccessor() {

Callers 3

insertNodeMethod · 0.95
_getDirectChildrenMethod · 0.95
_calculateParentsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected