(e: KeyboardEvent)
| 1515 | } |
| 1516 | |
| 1517 | _onTokenizerKeydown(e: KeyboardEvent) { |
| 1518 | if ((isRight(e) && this.effectiveDir === "ltr") || (isLeft(e) && this.effectiveDir === "rtl")) { |
| 1519 | const lastTokenIndex = this._tokenizer.tokens.length - this._tokenizer.overflownTokens.length - 1; |
| 1520 | |
| 1521 | if (e.target === this._tokenizer.tokens[lastTokenIndex]) { |
| 1522 | setTimeout(() => { |
| 1523 | this._inputDom.focus(); |
| 1524 | }, 0); |
| 1525 | } |
| 1526 | } |
| 1527 | |
| 1528 | if (isInsertShift(e)) { |
| 1529 | this._handleInsertPaste(e); |
| 1530 | } |
| 1531 | |
| 1532 | if (isHome(e)) { |
| 1533 | this._handleHome(e); |
| 1534 | } |
| 1535 | |
| 1536 | if (isEnd(e)) { |
| 1537 | this._handleEnd(e); |
| 1538 | } |
| 1539 | |
| 1540 | if (isShow(e) && !this.readonly && !this.disabled) { |
| 1541 | this._preventTokenizerToggle = true; |
| 1542 | this._handleShow(e); |
| 1543 | } |
| 1544 | } |
| 1545 | |
| 1546 | _filterItems(str: string) { |
| 1547 | const itemsToFilter = this._getItems().filter(item => !item.isGroupItem); |
nothing calls this directly
no test coverage detected