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

Function getItems

src/material/list/testing/list-harness-base.ts:47–49  ·  view source on GitHub ↗

* Gets a list of harnesses representing the items in this list. * @param filters Optional filters used to narrow which harnesses are included * @return The list of items matching the given filters.

(filters?: F)

Source from the content-addressed store, hash-verified

45 * @return The list of items matching the given filters.
46 */
47 async getItems(filters?: F): Promise<C[]> {
48 return this.locatorForAll(this._itemHarness.with(filters))();
49 }
50
51 /**
52 * Gets a list of `ListSection` representing the list items grouped by subheaders. If the list has

Callers

nothing calls this directly

Calls 2

locatorForAllMethod · 0.80
withMethod · 0.45

Tested by

no test coverage detected