is there a way to get an input value and retrieve if the value is highlighted? I've a simple input:
<input type="text" id="myId" [(ngModel)]="myModel" (keypress)="myNumberInput($event)" min=0 max=99999/>
I'd should know throw event if the value in the input is highlighted. For example: enter image description here
Is it possible to get this information in event? Thanks
PS. I'm developing in Angular 2 so I need to do this without using jQuery.