(event: KeyboardEvent)
| 123 | } |
| 124 | |
| 125 | _handleKeydown(event: KeyboardEvent) { |
| 126 | if ( |
| 127 | (event.keyCode === ENTER || event.keyCode === SPACE) && |
| 128 | !this.disabled && |
| 129 | this._isPrimary && |
| 130 | !this._parentChip._isEditing |
| 131 | ) { |
| 132 | event.preventDefault(); |
| 133 | this._parentChip._handlePrimaryActionInteraction(); |
| 134 | } |
| 135 | } |
| 136 | } |
nothing calls this directly
no test coverage detected