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

Method _handleClick

src/material/chips/chip-action.ts:118–123  ·  view source on GitHub ↗
(event: MouseEvent)

Source from the content-addressed store, hash-verified

116 }
117
118 _handleClick(event: MouseEvent) {
119 if (!this.disabled && this._isPrimary) {
120 event.preventDefault();
121 this._parentChip._handlePrimaryActionInteraction();
122 }
123 }
124
125 _handleKeydown(event: KeyboardEvent) {
126 if (

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected