In Angular, how can I get the word that has just been clicked or double clicked by the user ?
What I want to do is this : the user double click a word in a text then the text is highlighted.
Text: "This is just some text"
the user clicks on the word "just" > I get it in the TS.
I have googled it but the only info I found are 10 years old threads in Angular JS.
Thanks in advance!