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

Method constructor

src/aria/private/tree/tree.ts:366–375  ·  view source on GitHub ↗
(readonly inputs: TreeInputs<V>)

Source from the content-addressed store, hash-verified

364 readonly value: WritableSignalLike<V[]>;
365
366 constructor(readonly inputs: TreeInputs<V>) {
367 this.activeItem = inputs.activeItem;
368 this.value = inputs.value;
369
370 this.treeBehavior = new Tree<TreeItemPattern<V>, V>({
371 ...inputs,
372 multi: this.multi,
373 multiExpandable: () => true,
374 });
375 }
376
377 /** Returns a set of violations */
378 validate(): string[] {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected