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

Method constructor

src/aria/private/menu/menu.ts:189–195  ·  view source on GitHub ↗
(readonly inputs: MenuInputs<V>)

Source from the content-addressed store, hash-verified

187 });
188
189 constructor(readonly inputs: MenuInputs<V>) {
190 this.id = inputs.id;
191 this.listBehavior = new List<MenuItemPattern<V>, V | undefined>({
192 ...inputs,
193 value: signal([]),
194 });
195 }
196
197 /** Returns a set of violations */
198 validate(): string[] {

Callers

nothing calls this directly

Calls 1

signalFunction · 0.90

Tested by

no test coverage detected