<?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 Re: Do I have to cleanup DrawAction event listeners after completion? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/do-i-have-to-cleanup-drawaction-event-listeners/m-p/1568964#M86266</link>
    <description>&lt;P&gt;Yeah, any listeners you create with "on" you need to clean up. The "on" method returns an object with a "remove()" method you can use for that.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-draw-DrawAction.html#on" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-views-draw-DrawAction.html#on&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 16 Dec 2024 17:20:05 GMT</pubDate>
    <dc:creator>ReneRubalcava</dc:creator>
    <dc:date>2024-12-16T17:20:05Z</dc:date>
    <item>
      <title>Do I have to cleanup DrawAction event listeners after completion?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/do-i-have-to-cleanup-drawaction-event-listeners/m-p/1568600#M86261</link>
      <description>&lt;P&gt;When I create one of the various DrawActions via Draw. If the action completes, do I still need to clean up the event listeners I set up via the `.on()` method, or will those get cleaned up automatically upon completion?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 22:15:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/do-i-have-to-cleanup-drawaction-event-listeners/m-p/1568600#M86261</guid>
      <dc:creator>GHvW33</dc:creator>
      <dc:date>2024-12-13T22:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: Do I have to cleanup DrawAction event listeners after completion?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/do-i-have-to-cleanup-drawaction-event-listeners/m-p/1568964#M86266</link>
      <description>&lt;P&gt;Yeah, any listeners you create with "on" you need to clean up. The "on" method returns an object with a "remove()" method you can use for that.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-draw-DrawAction.html#on" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-views-draw-DrawAction.html#on&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2024 17:20:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/do-i-have-to-cleanup-drawaction-event-listeners/m-p/1568964#M86266</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2024-12-16T17:20:05Z</dc:date>
    </item>
  </channel>
</rss>

