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

Method with

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

* Gets a `HarnessPredicate` that can be used to search for a `ToolbarHarness` * that meets certain criteria. * @param options Options for filtering which dialog instances are considered a match. * @return a `HarnessPredicate` configured with the given options.

(options: ToolbarHarnessFilters = {})

Source from the content-addressed store, hash-verified

26 * @return a `HarnessPredicate` configured with the given options.
27 */
28 static with(options: ToolbarHarnessFilters = {}): HarnessPredicate<ToolbarHarness> {
29 return new HarnessPredicate(ToolbarHarness, options);
30 }
31
32 /** Gets all widgets in the toolbar. */
33 async getWidgets(filters: ToolbarWidgetHarnessFilters = {}): Promise<ToolbarWidgetHarness[]> {

Callers 3

getWidgetsMethod · 0.45
getWidgetGroupsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected