cross-browser selected text bounding-client-rect
npm install selection-positionDetermine the current position of the selection or cursor.
Install with component(1):
$ component install bmcmahen/selection-position
``javascript`
var position = require('selection-position');
var rect = position();
// rect.top, rect.height, etc.
```
npm install component-test -g
component test browser
MIT