title: How to get coordinates of cursor from text area in angular?
body: <p>I am trying to get position of cursor(coordinates x,y) from textarea on input change(keyboard event), i cannot use click event as well, i want you only on change event or on blur or on keyup events.</p>
  
  <pre><code>        &lt;textarea name="text" [(ngModel)]="model" (keyup)="onChange($event)"  cols="75" rows="10"&gt;
           &lt;/textarea&gt;
  
    onChange(event:any){
      console.log(event.clientx)
     }
  </code></pre>
  
  <p>By using jquery i was able to get but i want to do it on angular.My actual requirement is when some text is matched then i want to display some popup menu in particular position so how i can  get coordinates of cursor on input change?</p>
  
  <p>Any help is greatly appreciated Thank you!  </p>