<?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 need to require dojo/domReady! in Web AppBuilder widgets? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/do-i-need-to-require-dojo-domready-in-web/m-p/429955#M39527</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know why I didn't think to do this earlier, but I just searched through all of the widgets included with Web AppBuilder.&amp;nbsp; I only found one widget that requires dojo/domReady!, so I'm guessing it's not needed anywhere.&amp;nbsp; I also didn't find anything using ready() or manually invoking the parser.&amp;nbsp; I guess the framework must take care of everything and widget authors don't need to worry about it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Oct 2015 14:17:04 GMT</pubDate>
    <dc:creator>MarkRubelmann</dc:creator>
    <dc:date>2015-10-09T14:17:04Z</dc:date>
    <item>
      <title>Do I need to require dojo/domReady! in Web AppBuilder widgets?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/do-i-need-to-require-dojo-domready-in-web/m-p/429954#M39526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is sort of a cross-post of &lt;A href="http://stackoverflow.com/questions/32972524/should-most-dojo-modules-require-dojo-domready"&gt;this Stack Overflow question&lt;/A&gt;​, but I'd like to see if anyone has any Esri-centric thoughts on it.&amp;nbsp; I'm confused about whether or not I need to require dojo/domReady! anywhere within a custom widget.&amp;nbsp; Given that Web AppBuilder will have set up the DOM before my widget is loaded, my guess is it will always just return immediately, but I could be overlooking something.&amp;nbsp; Someone on SO suggested that calling ready() instead of requiring the dojo/domReady! plugin might be the correct thing to do.&amp;nbsp; Does anyone know what the best approach is for Web AppBuilder widgets?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 14:35:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/do-i-need-to-require-dojo-domready-in-web/m-p/429954#M39526</guid>
      <dc:creator>MarkRubelmann</dc:creator>
      <dc:date>2015-10-07T14:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Do I need to require dojo/domReady! in Web AppBuilder widgets?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/do-i-need-to-require-dojo-domready-in-web/m-p/429955#M39527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know why I didn't think to do this earlier, but I just searched through all of the widgets included with Web AppBuilder.&amp;nbsp; I only found one widget that requires dojo/domReady!, so I'm guessing it's not needed anywhere.&amp;nbsp; I also didn't find anything using ready() or manually invoking the parser.&amp;nbsp; I guess the framework must take care of everything and widget authors don't need to worry about it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 14:17:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/do-i-need-to-require-dojo-domready-in-web/m-p/429955#M39527</guid>
      <dc:creator>MarkRubelmann</dc:creator>
      <dc:date>2015-10-09T14:17:04Z</dc:date>
    </item>
  </channel>
</rss>

