<?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: WAB - what is the reason of wrapping the button-function linkage with&amp;quot;this.own&amp;quot;? in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-what-is-the-reason-of-wrapping-the-button/m-p/1156166#M14708</link>
    <description>&lt;P&gt;This is part of the _WidgetBase structure that Dojo uses. It makes sure that everything is dealt with properly when the widget is destroyed. Read more about it under the "Owning handles" section of this page &lt;A href="https://dojotoolkit.org/documentation/tutorials/1.10/understanding_widgetbase/index.html" target="_blank" rel="noopener"&gt;https://dojotoolkit.org/documentation/tutorials/1.10/understanding_widgetbase/index.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Mar 2022 15:41:46 GMT</pubDate>
    <dc:creator>KenBuja</dc:creator>
    <dc:date>2022-03-22T15:41:46Z</dc:date>
    <item>
      <title>WAB - what is the reason of wrapping the button-function linkage with"this.own"?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-what-is-the-reason-of-wrapping-the-button/m-p/1156159#M14707</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I use WebAppBuilder 2.22 (developer edition) to develop 3D web apps with my developed custom widgets (esri js API 4.22) for our portal.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, I do not know why in all ESRI widgets code, everywhere when linking button click to a function, the linkage is wrapped with "this.own".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What is the purpose and benefit of doing it?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 15:31:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-what-is-the-reason-of-wrapping-the-button/m-p/1156159#M14707</guid>
      <dc:creator>MichaelLev</dc:creator>
      <dc:date>2022-03-22T15:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: WAB - what is the reason of wrapping the button-function linkage with"this.own"?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-what-is-the-reason-of-wrapping-the-button/m-p/1156166#M14708</link>
      <description>&lt;P&gt;This is part of the _WidgetBase structure that Dojo uses. It makes sure that everything is dealt with properly when the widget is destroyed. Read more about it under the "Owning handles" section of this page &lt;A href="https://dojotoolkit.org/documentation/tutorials/1.10/understanding_widgetbase/index.html" target="_blank" rel="noopener"&gt;https://dojotoolkit.org/documentation/tutorials/1.10/understanding_widgetbase/index.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 15:41:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-what-is-the-reason-of-wrapping-the-button/m-p/1156166#M14708</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2022-03-22T15:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: WAB - what is the reason of wrapping the button-function linkage with"this.own"?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-what-is-the-reason-of-wrapping-the-button/m-p/1158405#M14710</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;May I ask - I can write "this.someButton.onClick = this.someHandlerFunction;"&lt;/P&gt;&lt;P&gt;How is it, compared to "this.own(on(..." ?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 17:29:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-what-is-the-reason-of-wrapping-the-button/m-p/1158405#M14710</guid>
      <dc:creator>MichaelLev</dc:creator>
      <dc:date>2022-03-28T17:29:57Z</dc:date>
    </item>
  </channel>
</rss>

