/select-text

Get selected text

Primary LanguageJavaScript

select text

###Add watcher : let selector= new Selector(el, (result)=>{ console.log(result) }) ######el - element for watching; ######result - Result selecting;

###Get selected text:

    let sel = Selected.getSelection()