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

Method getAvatar

src/material/chips/testing/chip-harness.ts:87–89  ·  view source on GitHub ↗

* Gets the avatar inside a chip. * @param filter Optionally filters which avatars are included.

(filter: ChipAvatarHarnessFilters = {})

Source from the content-addressed store, hash-verified

85 * @param filter Optionally filters which avatars are included.
86 */
87 async getAvatar(filter: ChipAvatarHarnessFilters = {}): Promise<MatChipAvatarHarness | null> {
88 return this.locatorForOptional(MatChipAvatarHarness.with(filter))();
89 }
90}

Callers 1

Calls 2

locatorForOptionalMethod · 0.80
withMethod · 0.45

Tested by

no test coverage detected