UNPKG

get-input-selection

Version:

getInputSelection() provides carrot position for textarea. Works as selectionBegin and selectionEnd for all browsers

3 lines (2 loc) 10 B
.idea src