(e: KeyboardEvent)
| 1125 | } |
| 1126 | |
| 1127 | _handleHome(e: KeyboardEvent) { |
| 1128 | const shouldFocusToken = this._isFocusInside && (e.target as HTMLInputElement).selectionStart === 0 && this._tokenizer.tokens.length > 0; |
| 1129 | |
| 1130 | if (shouldFocusToken) { |
| 1131 | e.preventDefault(); |
| 1132 | this._tokenizer.tokens[0].focus(); |
| 1133 | } |
| 1134 | } |
| 1135 | |
| 1136 | _handleEnd(e: KeyboardEvent) { |
| 1137 | const tokens = this._tokenizer.tokens; |
no test coverage detected