<?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: Can't customize LayerList styles in JavaScript Maps SDK  4.29 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-customize-layerlist-styles-in-javascript/m-p/1397194#M84039</link>
    <description>&lt;P&gt;There is no current way in the LayerList API to modify the expand and collapse button to show/hide a layer's sublayers outside of the calcite colors and theming guide.&amp;nbsp;&amp;nbsp;&lt;A href="https://developers.arcgis.com/calcite-design-system/foundations/colors/#:~:text=Calcite's%20default%20theme%20provides%20a,both%20light%20and%20dark%20modes" target="_blank"&gt;https://developers.arcgis.com/calcite-design-system/foundations/colors/#:~:text=Calcite's%20default%20theme%20provides%20a,both%20light%20and%20dark%20modes&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Mon, 18 Mar 2024 12:25:27 GMT</pubDate>
    <dc:creator>Sage_Wall</dc:creator>
    <dc:date>2024-03-18T12:25:27Z</dc:date>
    <item>
      <title>Can't customize LayerList styles in JavaScript Maps SDK  4.29</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-customize-layerlist-styles-in-javascript/m-p/1395738#M84003</link>
      <description>&lt;P&gt;With JavaScript Maps SDK 4.28 we customized a bit styling LayerList on our website to be consistent with our project's design. For example visibility icon was changed to checkbox. But since&amp;nbsp;4.29 our style overwriting doesn't apply anymore.&lt;/P&gt;&lt;P&gt;Reaching layerList elements isn't&amp;nbsp;accessible any more since calcite&amp;nbsp; elements are used to shape the widget and&amp;nbsp; we can't reach with simple styling the elements inside it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know some approaches how to do it?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 10:17:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-customize-layerlist-styles-in-javascript/m-p/1395738#M84003</guid>
      <dc:creator>AnastasiiaDzundza</dc:creator>
      <dc:date>2024-03-14T10:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Can't customize LayerList styles in JavaScript Maps SDK  4.29</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-customize-layerlist-styles-in-javascript/m-p/1395887#M84008</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/750984"&gt;@AnastasiiaDzundza&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for reaching out.&amp;nbsp; Since we refactored the layer list to use calcite components you will need to follow the &lt;A href="https://developers.arcgis.com/calcite-design-system/foundations/colors/" target="_self"&gt;colors and theming guide&lt;/A&gt; found there.&amp;nbsp; To add your checkboxes back we added a new property at 4.29 called &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList.html#visibilityAppearance" target="_self"&gt;visibilityApearance&lt;/A&gt; that will allow you to switch between the visibility icons and a checkbox.&amp;nbsp; Hope this helps.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 14:55:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-customize-layerlist-styles-in-javascript/m-p/1395887#M84008</guid>
      <dc:creator>Sage_Wall</dc:creator>
      <dc:date>2024-03-14T14:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Can't customize LayerList styles in JavaScript Maps SDK  4.29</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-customize-layerlist-styles-in-javascript/m-p/1396700#M84027</link>
      <description>&lt;P&gt;Thank &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/507049"&gt;@Sage_Wall&lt;/a&gt;&amp;nbsp;you a lot for the answer, any chance you can tell me if the is any java script api that alows to change the order of expand/collapse button and custom added actions?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 17:47:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-customize-layerlist-styles-in-javascript/m-p/1396700#M84027</guid>
      <dc:creator>AnastasiiaDzundza</dc:creator>
      <dc:date>2024-03-15T17:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Can't customize LayerList styles in JavaScript Maps SDK  4.29</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-customize-layerlist-styles-in-javascript/m-p/1396803#M84031</link>
      <description>&lt;P&gt;There isn't any properties to control the placement of the expand/collapse button and the actions menu outside of the left-to-right and right-to-left settings (&lt;A href="https://developers.arcgis.com/javascript/latest/localization/#support-for-right-to-left-rtl" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/localization/#support-for-right-to-left-rtl&lt;/A&gt;).&amp;nbsp; Custom actions can be easily added using the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList.html#listItemCreatedFunction" target="_self"&gt;listItemCreatedFunction&lt;/A&gt; and then adding items to the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList-ListItem.html#actionsSections" target="_self"&gt;actionsSections&lt;/A&gt; .&amp;nbsp; There is a sample located here:&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/widgets-layerlist-actions/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/sample-code/widgets-layerlist-actions/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 20:32:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-customize-layerlist-styles-in-javascript/m-p/1396803#M84031</guid>
      <dc:creator>Sage_Wall</dc:creator>
      <dc:date>2024-03-15T20:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Can't customize LayerList styles in JavaScript Maps SDK  4.29</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-customize-layerlist-styles-in-javascript/m-p/1397144#M84037</link>
      <description>&lt;P&gt;But is there any way to re define&amp;nbsp;&lt;SPAN&gt;expand/collapse button in actions list? Under&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList.html#listItemCreatedFunction" target="_self" rel="nofollow noopener noreferrer"&gt;listItemCreatedFunction&lt;/A&gt;?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2024 08:35:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-customize-layerlist-styles-in-javascript/m-p/1397144#M84037</guid>
      <dc:creator>AnastasiiaDzundza</dc:creator>
      <dc:date>2024-03-18T08:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: Can't customize LayerList styles in JavaScript Maps SDK  4.29</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-customize-layerlist-styles-in-javascript/m-p/1397194#M84039</link>
      <description>&lt;P&gt;There is no current way in the LayerList API to modify the expand and collapse button to show/hide a layer's sublayers outside of the calcite colors and theming guide.&amp;nbsp;&amp;nbsp;&lt;A href="https://developers.arcgis.com/calcite-design-system/foundations/colors/#:~:text=Calcite's%20default%20theme%20provides%20a,both%20light%20and%20dark%20modes" target="_blank"&gt;https://developers.arcgis.com/calcite-design-system/foundations/colors/#:~:text=Calcite's%20default%20theme%20provides%20a,both%20light%20and%20dark%20modes&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2024 12:25:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-customize-layerlist-styles-in-javascript/m-p/1397194#M84039</guid>
      <dc:creator>Sage_Wall</dc:creator>
      <dc:date>2024-03-18T12:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: Can't customize LayerList styles in JavaScript Maps SDK  4.29</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-customize-layerlist-styles-in-javascript/m-p/1397196#M84040</link>
      <description>&lt;P&gt;Got it, appreciate your reply.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2024 12:27:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-customize-layerlist-styles-in-javascript/m-p/1397196#M84040</guid>
      <dc:creator>AnastasiiaDzundza</dc:creator>
      <dc:date>2024-03-18T12:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Can't customize LayerList styles in JavaScript Maps SDK  4.29</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-customize-layerlist-styles-in-javascript/m-p/1397198#M84041</link>
      <description>&lt;P&gt;Happy to help, if you could change the expand buttons, how would you?&amp;nbsp; Always looking for ideas on how to make things better. Maybe it's something we could consider in a future release.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2024 12:32:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-customize-layerlist-styles-in-javascript/m-p/1397198#M84041</guid>
      <dc:creator>Sage_Wall</dc:creator>
      <dc:date>2024-03-18T12:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Can't customize LayerList styles in JavaScript Maps SDK  4.29</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-customize-layerlist-styles-in-javascript/m-p/1397199#M84042</link>
      <description>&lt;P&gt;Well, last my question was triggered&amp;nbsp; by the need to have a trash icon before expand/collapse button in one line. Checkboxes that handle layer visibility we keep in front of layer title.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2024 12:35:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-customize-layerlist-styles-in-javascript/m-p/1397199#M84042</guid>
      <dc:creator>AnastasiiaDzundza</dc:creator>
      <dc:date>2024-03-18T12:35:15Z</dc:date>
    </item>
  </channel>
</rss>

