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

Method constructor

src/aria/private/listbox/option.ts:61–68  ·  view source on GitHub ↗
(args: OptionInputs<V>)

Source from the content-addressed store, hash-verified

59 readonly element: SignalLike<HTMLElement | undefined>;
60
61 constructor(args: OptionInputs<V>) {
62 this.id = args.id;
63 this.value = args.value;
64 this.listbox = args.listbox;
65 this.element = args.element;
66 this.disabled = args.disabled;
67 this.searchTerm = args.searchTerm;
68 }
69}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected