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

Method getAvatar

src/material/chips/testing/chip-harness.ts:90–92  ·  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

88 * @param filter Optionally filters which avatars are included.
89 */
90 async getAvatar(filter: ChipAvatarHarnessFilters = {}): Promise<MatChipAvatarHarness | null> {
91 return this.locatorForOptional(MatChipAvatarHarness.with(filter))();
92 }
93
94 /**
95 * Gets the leading icon inside a chip.

Callers 1

Calls 2

locatorForOptionalMethod · 0.80
withMethod · 0.45

Tested by

no test coverage detected