<?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 API JS 4.x - Widget development - Icon and config file in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/api-js-4-x-widget-development-icon-and-config-file/m-p/726417#M67408</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have done this tutorial&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/sample-code/widgets-custom-widget/index.html" title="https://developers.arcgis.com/javascript/latest/sample-code/widgets-custom-widget/index.html"&gt;Create a custom widget | ArcGIS API for JavaScript 4.16&lt;/A&gt;.&amp;nbsp;Now I have these questions:&lt;/P&gt;&lt;P&gt;* How can I create and load a configuration file for the widget?&lt;/P&gt;&lt;P&gt;* How can I create a icon for the widget, that it be showed on map, so that an user can click on it to open the widget?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Sep 2020 19:18:42 GMT</pubDate>
    <dc:creator>LuisRodríguez_González</dc:creator>
    <dc:date>2020-09-02T19:18:42Z</dc:date>
    <item>
      <title>API JS 4.x - Widget development - Icon and config file</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/api-js-4-x-widget-development-icon-and-config-file/m-p/726417#M67408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have done this tutorial&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/sample-code/widgets-custom-widget/index.html" title="https://developers.arcgis.com/javascript/latest/sample-code/widgets-custom-widget/index.html"&gt;Create a custom widget | ArcGIS API for JavaScript 4.16&lt;/A&gt;.&amp;nbsp;Now I have these questions:&lt;/P&gt;&lt;P&gt;* How can I create and load a configuration file for the widget?&lt;/P&gt;&lt;P&gt;* How can I create a icon for the widget, that it be showed on map, so that an user can click on it to open the widget?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2020 19:18:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/api-js-4-x-widget-development-icon-and-config-file/m-p/726417#M67408</guid>
      <dc:creator>LuisRodríguez_González</dc:creator>
      <dc:date>2020-09-02T19:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: API JS 4.x - Widget development - Icon and config file</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/api-js-4-x-widget-development-icon-and-config-file/m-p/726418#M67409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have just found out how to create the icon widget. I have included these lines in the tsx file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;const CSS = {&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;base: "generador-stops-tool",&lt;BR /&gt; textoJsonStops: "texto-json-stops",&lt;BR /&gt; icons: {&lt;BR /&gt; widgetIcon: "esri-icon-map-pin",&lt;BR /&gt; copy: "esri-share__copy-icon"&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;}&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;};&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;. . .&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;@property()&lt;BR /&gt; iconClass = CSS.icons.widgetIcon;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2020 08:58:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/api-js-4-x-widget-development-icon-and-config-file/m-p/726418#M67409</guid>
      <dc:creator>LuisRodríguez_González</dc:creator>
      <dc:date>2020-09-03T08:58:40Z</dc:date>
    </item>
  </channel>
</rss>

