<?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: LayerList Component adding opacity slider on in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/layerlist-component-adding-opacity-slider-on/m-p/1681634#M88110</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/133052"&gt;@JamesVillanueva2&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;It's likely because of the ShadowDOM preventing from setting the styles of the widget.&amp;nbsp; I'd suggest sticking to the calcite-slider approach current sample app shows for now.&amp;nbsp; If you just want to change the look to be similar to the old dark theme you can set the "calcite-mode-dark" class on the body or on the map as this example shows.&lt;BR /&gt;&lt;A href="https://codepen.io/sagewall/pen/QwErBGL" target="_blank"&gt;https://codepen.io/sagewall/pen/QwErBGL&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In general I'd try to avoid mixing old widgets and the new components if at all possible.&lt;/P&gt;&lt;P&gt;In the next 5.0 release we will have a new slider components including an opacity slider component.&lt;/P&gt;</description>
    <pubDate>Mon, 02 Feb 2026 23:11:54 GMT</pubDate>
    <dc:creator>Sage_Wall</dc:creator>
    <dc:date>2026-02-02T23:11:54Z</dc:date>
    <item>
      <title>LayerList Component adding opacity slider on</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/layerlist-component-adding-opacity-slider-on/m-p/1681621#M88109</link>
      <description>&lt;P&gt;I am trying to embed an opacity slider in the LayerList Component inside of the&amp;nbsp;listItemCreatedFunction. I get an opacity slider, but CSS formatting from themes never seem to make it to the ESRi based Slider.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/enigma2522/pen/VYjxdXp" target="_self"&gt;Example in CodePen&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions is greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JamesVillanueva2_0-1770070307495.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/147762iCAC6E56D6D4A035A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JamesVillanueva2_0-1770070307495.png" alt="JamesVillanueva2_0-1770070307495.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Feb 2026 22:12:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/layerlist-component-adding-opacity-slider-on/m-p/1681621#M88109</guid>
      <dc:creator>JamesVillanueva2</dc:creator>
      <dc:date>2026-02-02T22:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: LayerList Component adding opacity slider on</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/layerlist-component-adding-opacity-slider-on/m-p/1681634#M88110</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/133052"&gt;@JamesVillanueva2&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;It's likely because of the ShadowDOM preventing from setting the styles of the widget.&amp;nbsp; I'd suggest sticking to the calcite-slider approach current sample app shows for now.&amp;nbsp; If you just want to change the look to be similar to the old dark theme you can set the "calcite-mode-dark" class on the body or on the map as this example shows.&lt;BR /&gt;&lt;A href="https://codepen.io/sagewall/pen/QwErBGL" target="_blank"&gt;https://codepen.io/sagewall/pen/QwErBGL&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In general I'd try to avoid mixing old widgets and the new components if at all possible.&lt;/P&gt;&lt;P&gt;In the next 5.0 release we will have a new slider components including an opacity slider component.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Feb 2026 23:11:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/layerlist-component-adding-opacity-slider-on/m-p/1681634#M88110</guid>
      <dc:creator>Sage_Wall</dc:creator>
      <dc:date>2026-02-02T23:11:54Z</dc:date>
    </item>
  </channel>
</rss>

