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

Method _hasTrailingIcon

src/material/chips/chip.ts:354–356  ·  view source on GitHub ↗

Returns whether the chip has a trailing icon.

()

Source from the content-addressed store, hash-verified

352
353 /** Returns whether the chip has a trailing icon. */
354 _hasTrailingIcon() {
355 return !!(this.trailingIcon || this.removeIcon);
356 }
357
358 /** Handles keyboard events on the chip. */
359 _handleKeydown(event: KeyboardEvent) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected