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

Method _handleClick

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

_startEditingMethod · 0.95

Tested by

no test coverage detected