<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic WebApp Builder Widget Keypress Event in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webapp-builder-widget-keypress-event/m-p/1090278#M74331</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;Unsure if this is the correct place to ask but I'm working on a measure widget through WebApp Builder that has an undo function whilst the user is plotting points. I was wondering if it were possible to implement a constant listener for keypresses which would ideally call my custom made function to undo the last drawn point by the user.&lt;BR /&gt;&lt;BR /&gt;This undo feature already exists but only when the user completes the sketch which isn't what I want. I want this feature to be possible to call during the sketch... Whether the mouse is moving or not.&lt;/P&gt;&lt;P&gt;I have DMed some very helpful people here and the closest solution I got to was trying to implement an event within the _measureMove function but that didn't quite work and it relies on the mouse being in motion.&lt;/P&gt;&lt;P&gt;Any advice/help is greatly appreciated.&lt;/P&gt;</description>
    <pubDate>Thu, 19 Aug 2021 08:33:06 GMT</pubDate>
    <dc:creator>cmcLearner</dc:creator>
    <dc:date>2021-08-19T08:33:06Z</dc:date>
    <item>
      <title>WebApp Builder Widget Keypress Event</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webapp-builder-widget-keypress-event/m-p/1090278#M74331</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;Unsure if this is the correct place to ask but I'm working on a measure widget through WebApp Builder that has an undo function whilst the user is plotting points. I was wondering if it were possible to implement a constant listener for keypresses which would ideally call my custom made function to undo the last drawn point by the user.&lt;BR /&gt;&lt;BR /&gt;This undo feature already exists but only when the user completes the sketch which isn't what I want. I want this feature to be possible to call during the sketch... Whether the mouse is moving or not.&lt;/P&gt;&lt;P&gt;I have DMed some very helpful people here and the closest solution I got to was trying to implement an event within the _measureMove function but that didn't quite work and it relies on the mouse being in motion.&lt;/P&gt;&lt;P&gt;Any advice/help is greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 08:33:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webapp-builder-widget-keypress-event/m-p/1090278#M74331</guid>
      <dc:creator>cmcLearner</dc:creator>
      <dc:date>2021-08-19T08:33:06Z</dc:date>
    </item>
  </channel>
</rss>

