MCPcopy
hub / github.com/angular/components / getWidgets

Method getWidgets

src/aria/toolbar/testing/toolbar-harness.ts:33–35  ·  view source on GitHub ↗

Gets all widgets in the toolbar.

(filters: ToolbarWidgetHarnessFilters = {})

Source from the content-addressed store, hash-verified

31
32 /** Gets all widgets in the toolbar. */
33 async getWidgets(filters: ToolbarWidgetHarnessFilters = {}): Promise<ToolbarWidgetHarness[]> {
34 return await this.locatorForAll(ToolbarWidgetHarness.with(filters))();
35 }
36
37 /** Gets all widget groups in the toolbar. */
38 async getWidgetGroups(

Callers 1

Calls 2

locatorForAllMethod · 0.80
withMethod · 0.45

Tested by

no test coverage detected