caret-to-end

Simple function which will move caret(cursor) on the end of inputs - textarea & contenteditable

Usage no npm install needed!

<script type="module">
  import caretToEnd from 'https://cdn.skypack.dev/caret-to-end';
</script>

README

caret-to-end

Simple function which will move caret(cursor) on the end of inputs - textarea & contenteditable