()
| 747 | } |
| 748 | |
| 749 | _getCaretPosition() { |
| 750 | return this.input.getDomRef()!.querySelector("input")!.selectionStart; |
| 751 | } |
| 752 | |
| 753 | _getValueOnkeyDown(e: KeyboardEvent, inputValue: string, cursorPosition?: number) { |
| 754 | const typedValue = `${inputValue.substring(0, cursorPosition)}${e.key}${inputValue.substring(cursorPosition!)}`; |