cursor-change
an event emitter for when the cursor position changes in a contenteditable document
Installation
Install with component(1) or duo or NPM.
$npm install cursor-change
Usage
var el = document0;var cursor = el;cursor; ;
Note
This specifically does not emit an event for selections. For that, use bmcmahen/monitor-text-selection
.
License
MIT