(e: KeyboardEvent)
| 1134 | } |
| 1135 | |
| 1136 | _handleEnd(e: KeyboardEvent) { |
| 1137 | const tokens = this._tokenizer.tokens; |
| 1138 | const lastTokenIdx = tokens.length - 1; |
| 1139 | const shouldFocusInput = e.target === tokens[lastTokenIdx] && tokens[lastTokenIdx] === this.shadowRoot!.activeElement; |
| 1140 | |
| 1141 | if (shouldFocusInput) { |
| 1142 | e.preventDefault(); |
| 1143 | this._inputDom.focus(); |
| 1144 | } |
| 1145 | } |
| 1146 | |
| 1147 | _handleTab() { |
| 1148 | this.open = false; |
no test coverage detected