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

Method constructor

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

Source from the content-addressed store, hash-verified

1426 });
1427
1428 constructor() {
1429 afterRenderEffect(() => {
1430 const active = this.tree()?._pattern.inputs.activeItem();
1431 if (active) {
1432 untracked(() => {
1433 active.element()?.scrollIntoView({block: 'nearest'});
1434 });
1435 }
1436 });
1437 }
1438
1439 flattenTreeNodes(nodes: TreeNode[]): TreeNode[] {
1440 return nodes.flatMap(node => {

Callers

nothing calls this directly

Calls 2

activeItemMethod · 0.80
elementMethod · 0.45

Tested by

no test coverage detected