0.1.0 • Published 8 years ago
get-selection-range v0.1.0
get-selection-range

Get cursor's selection range.
Installation
$ npm install --save get-selection-rangeUsage
var getSelectionRange = require('get-selection-range');
// get visible selection range
getSelectionRange.getVisibleSelectionRect();
// get collpase selection range
getSelectionRange.getCollapsedClientRect()License
MIT © chilijung
0.1.0
8 years ago