Searched refs:caretPosition (Results 1 – 2 of 2) sorted by relevance
110 function caretPosition(field) { function246 var currentPosition = caretPosition(field);
11834 var caretPosition = (0, _element.getCaretPosition)(that.TEXTAREA),11837 var newValue = value.slice(0, caretPosition) + '\n' + value.slice(caretPosition);11841 (0, _element.setCaretPosition)(that.TEXTAREA, caretPosition + 1);