end-of-cursor
v0.0.4
Published
Standalone javascript library to make default text and put active cursor into the end of input text value
Downloads
3
Maintainers
Readme
End Of Cursor
Standalone javascript library to make default text and put active cursor into the end of input text value. Lets try it!
Please add some issue to my github account if you've found some bug :)
Install
include end-of-cursor.js to your file
or
You can install via NPM
npm install end-of-cursor
Usage
import EOC from 'end-of-cursor'
// define a DOM target with native Javascript code
const yourDom = document.getElementById('idOfYourDom')
EOC(yourDom, 'sites that you will enable to your input as value')
### e.g
EOC(yourDom, 'http://github.com/')