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

Method _hasLeadingGraphic

src/material/chips/chip.ts:349–351  ·  view source on GitHub ↗

Returns whether the chip has a leading icon or avatar.

()

Source from the content-addressed store, hash-verified

347
348 /** Returns whether the chip has a leading icon or avatar. */
349 _hasLeadingGraphic() {
350 return !!(this.leadingIcon || this.avatar);
351 }
352
353 /** Returns whether the chip has a trailing icon. */
354 _hasTrailingIcon() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected