I am trying to find a way to add something inside a div when i double click it.
So I have a div:
<div>Double click here</div>
What I need to do with Angular is when I doubleclick on a div I need the code to add "something" to the else of the div.
For example...
Before I doubleclick I have:
<div>Double click here</div>
and after I doubleclick I need to have:
<div something>Double click here</div>
How can I do this in Angular 2 / 4 ?