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

Method getOptions

src/aria/listbox/testing/listbox-harness.ts:105–107  ·  view source on GitHub ↗

Gets the options inside the listbox.

(filters: ListboxOptionHarnessFilters = {})

Source from the content-addressed store, hash-verified

103
104 /** Gets the options inside the listbox. */
105 async getOptions(filters: ListboxOptionHarnessFilters = {}): Promise<ListboxOptionHarness[]> {
106 return this.locatorForAll(ListboxOptionHarness.with(filters))();
107 }
108
109 /** Focuses the listbox container. */
110 async focus(): Promise<void> {

Callers 15

applyWithProgramMethod · 0.45
applyMethod · 0.45
applyMethod · 0.45
applyMethod · 0.45
applyMethod · 0.45
applyMethod · 0.45
applyWithProgramMethod · 0.45
applyMethod · 0.45
applyMethod · 0.45
applyWithProgramMethod · 0.45
applyMethod · 0.45
applyMethod · 0.45

Calls 2

locatorForAllMethod · 0.80
withMethod · 0.45

Tested by

no test coverage detected