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

Method _handleClick

src/material/chips/chip-row.ts:172–180  ·  view source on GitHub ↗
(event: MouseEvent)

Source from the content-addressed store, hash-verified

170 }
171
172 _handleClick(event: MouseEvent) {
173 if (!this.disabled && this.editable && !this._isEditing && this._alreadyFocused) {
174 // Ensure click event not picked up unintentionally by other listeners, as
175 // once editing starts, the source element is detached from DOM.
176 event.preventDefault();
177 event.stopPropagation();
178 this._startEditing(event);
179 }
180 }
181
182 _handleDoubleclick(event: MouseEvent) {
183 if (!this.disabled && this.editable) {

Callers

nothing calls this directly

Calls 1

_startEditingMethod · 0.95

Tested by

no test coverage detected