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

Method constructor

src/aria/combobox/combobox.spec.ts:1477–1486  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1475 });
1476
1477 constructor() {
1478 afterRenderEffect(() => {
1479 const active = this.tree()?._pattern.inputs.activeItem();
1480 if (active) {
1481 untracked(() => {
1482 active.element()?.scrollIntoView({block: 'nearest'});
1483 });
1484 }
1485 });
1486 }
1487
1488 flattenTreeNodes(nodes: TreeNode[]): TreeNode[] {
1489 return nodes.flatMap(node => {

Callers

nothing calls this directly

Calls 2

activeItemMethod · 0.80
elementMethod · 0.45

Tested by

no test coverage detected