getSelectionRange
returns start and end positions of cursor during selection
object getSelectionRange(HTMLElement node);
| node | HTMLElement | a DOM element where selection occurs |
| object | an object with the start and end cursor positions |
Example
var selection_range = webix.html.getSelectionRange("myDiv");
See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support,
connect with other developers, and share your feedback there.