I'm trying to figure out how to listen for pointer events on a MapView in my widget. I'm not getting very far... For example:
<SPAN class="token function">postInitialize</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">)</SPAN> <SPAN class="punctuation token">{</SPAN>
watchUtils<SPAN class="punctuation token">.</SPAN><SPAN class="token function">on</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="keyword token">this</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="string token">"view"</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="string token">"pointer-down"</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">)</SPAN> <SPAN class="operator token">=</SPAN><SPAN class="operator token">></SPAN> <SPAN class="keyword token">this</SPAN><SPAN class="punctuation token">.</SPAN><SPAN class="token function">_onPointerDown</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">;</SPAN>
<SPAN class="punctuation token">}</SPAN>will fire the _onPointerDown method when the MapView is clicked on. However, what I'm really interested in are the properties of the pointer-down event. e.g., x, y, etc. : MapView | API Reference | ArcGIS API for JavaScript 4.3
Any advice is appreciated - I'm just looking for an opening
TIA