<?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 custom image widget that toggles between 2 images (&amp;quot;off&amp;quot; image and &amp;quot;active&amp;quot; image) by clicking the image in Experience Builder Custom Widgets</title>
    <link>https://community.esri.com/t5/experience-builder-custom-widgets/custom-image-widget-that-toggles-between-2-images/m-p/1616935#M566</link>
    <description>&lt;P&gt;esri experience builder developer edition "image" widget allows me to upload one image.&lt;/P&gt;&lt;P&gt;I want to make a custom "image" widget which uploads 2 images, one noting the "off" state and the other noting the "on" state. In run time, by clicking the image, the code will toggle between those 2 images.&lt;/P&gt;</description>
    <pubDate>Wed, 21 May 2025 13:27:21 GMT</pubDate>
    <dc:creator>MichaelLev</dc:creator>
    <dc:date>2025-05-21T13:27:21Z</dc:date>
    <item>
      <title>custom image widget that toggles between 2 images ("off" image and "active" image) by clicking the image</title>
      <link>https://community.esri.com/t5/experience-builder-custom-widgets/custom-image-widget-that-toggles-between-2-images/m-p/1616935#M566</link>
      <description>&lt;P&gt;esri experience builder developer edition "image" widget allows me to upload one image.&lt;/P&gt;&lt;P&gt;I want to make a custom "image" widget which uploads 2 images, one noting the "off" state and the other noting the "on" state. In run time, by clicking the image, the code will toggle between those 2 images.&lt;/P&gt;</description>
      <pubDate>Wed, 21 May 2025 13:27:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/experience-builder-custom-widgets/custom-image-widget-that-toggles-between-2-images/m-p/1616935#M566</guid>
      <dc:creator>MichaelLev</dc:creator>
      <dc:date>2025-05-21T13:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: custom image widget that toggles between 2 images ("off" image and "active" image) by clicking the image</title>
      <link>https://community.esri.com/t5/experience-builder-custom-widgets/custom-image-widget-that-toggles-between-2-images/m-p/1616989#M567</link>
      <description>&lt;P&gt;Something like this will work.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;return (
  {on ? &amp;lt;img src='/image1.jpeg'&amp;gt;&amp;lt;/img&amp;gt; : &amp;lt;img src='/image2.jpeg'&amp;gt;&amp;lt;/img&amp;gt;}
)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 21 May 2025 14:28:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/experience-builder-custom-widgets/custom-image-widget-that-toggles-between-2-images/m-p/1616989#M567</guid>
      <dc:creator>JeffreyThompson2</dc:creator>
      <dc:date>2025-05-21T14:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: custom image widget that toggles between 2 images ("off" image and "active" image) by clicking the image</title>
      <link>https://community.esri.com/t5/experience-builder-custom-widgets/custom-image-widget-that-toggles-between-2-images/m-p/1617387#M569</link>
      <description>&lt;P&gt;I think I need do quite a few modifications in several files...&lt;/P&gt;&lt;P&gt;What I need is that the 2 images will serve for "off" and "on" states of the widget,&lt;/P&gt;&lt;P&gt;and that the widget will remember all the time, the data of the 2 images.&lt;/P&gt;&lt;P&gt;I need also that the widget setup will enable it to function&amp;nbsp; either as a "single image widget" (as currently),&amp;nbsp;&lt;/P&gt;&lt;P&gt;or as a "on-off" widget (with 2 images)&lt;/P&gt;</description>
      <pubDate>Thu, 22 May 2025 06:02:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/experience-builder-custom-widgets/custom-image-widget-that-toggles-between-2-images/m-p/1617387#M569</guid>
      <dc:creator>MichaelLev</dc:creator>
      <dc:date>2025-05-22T06:02:11Z</dc:date>
    </item>
  </channel>
</rss>

