<?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 Monitor shell panel status collapsed/expanded in Calcite Design System Questions</title>
    <link>https://community.esri.com/t5/calcite-design-system-questions/monitor-shell-panel-status-collapsed-expanded/m-p/1524142#M699</link>
    <description>&lt;P&gt;I have this shell panel&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;calcite-shell-panel slot="panel-start" position="start" id="shell-panel-start"&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;and want to monitor whether it's expended or not.&lt;/P&gt;&lt;P&gt;So I use JS reactiveutils but it doesn't seem to work.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt; const shellPanel = document.getElementById("shell-panel-start");
  reactiveUtils.watch(
    () =&amp;gt; shellPanel.collapsed,
    () =&amp;gt; {
      console.log("collapsed");
    });&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 20 Aug 2024 00:24:36 GMT</pubDate>
    <dc:creator>LefterisKoumis</dc:creator>
    <dc:date>2024-08-20T00:24:36Z</dc:date>
    <item>
      <title>Monitor shell panel status collapsed/expanded</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/monitor-shell-panel-status-collapsed-expanded/m-p/1524142#M699</link>
      <description>&lt;P&gt;I have this shell panel&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;calcite-shell-panel slot="panel-start" position="start" id="shell-panel-start"&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;and want to monitor whether it's expended or not.&lt;/P&gt;&lt;P&gt;So I use JS reactiveutils but it doesn't seem to work.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt; const shellPanel = document.getElementById("shell-panel-start");
  reactiveUtils.watch(
    () =&amp;gt; shellPanel.collapsed,
    () =&amp;gt; {
      console.log("collapsed");
    });&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 20 Aug 2024 00:24:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/monitor-shell-panel-status-collapsed-expanded/m-p/1524142#M699</guid>
      <dc:creator>LefterisKoumis</dc:creator>
      <dc:date>2024-08-20T00:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor shell panel status collapsed/expanded</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/monitor-shell-panel-status-collapsed-expanded/m-p/1524519#M700</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/14521"&gt;@LefterisKoumis&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Are you referring to the "collapsed" property on the "calcite-shell-panel"?&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are no UI elements in the component that a user would click to toggle this property. If it is being toggled, its likely being done programmatically somewhere in your code. If that's the case, you should be able to track the state of it there.&lt;/P&gt;&lt;P&gt;I will create an issue to add an event to listen for when this property changes.&lt;/P&gt;&lt;P&gt;Issue:&amp;nbsp;&lt;A href="https://github.com/Esri/calcite-design-system/issues/10116" target="_blank"&gt;https://github.com/Esri/calcite-design-system/issues/10116&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 16:55:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/monitor-shell-panel-status-collapsed-expanded/m-p/1524519#M700</guid>
      <dc:creator>MattDriscoll</dc:creator>
      <dc:date>2024-08-20T16:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor shell panel status collapsed/expanded</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/monitor-shell-panel-status-collapsed-expanded/m-p/1524919#M701</link>
      <description>&lt;P&gt;Yes, I am. Thank you for creating the issue. I also saw that after comments from your colleagues you closed it.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":frowning_face:"&gt;☹️&lt;/span&gt;&amp;nbsp;&amp;nbsp;One of them said "&lt;SPAN&gt;Action Bar Actions that toggle the collapsed state or the Panel close event, etc." could monitor the state of the shell panel. That's correct. But also, I am using the shell panel to display the feature widget that displays the popup when a feature is clicked on. At each time I have to monitor the width of the table that is on the calcite-panel slot "panel-bottom". An event to monitor the state of the calcite shell slot "panel-start" would make it a lot easier to manage and less code to write.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 02:34:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/monitor-shell-panel-status-collapsed-expanded/m-p/1524919#M701</guid>
      <dc:creator>LefterisKoumis</dc:creator>
      <dc:date>2024-08-21T02:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor shell panel status collapsed/expanded</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/monitor-shell-panel-status-collapsed-expanded/m-p/1525171#M703</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/14521"&gt;@LefterisKoumis&lt;/a&gt;. I'll pass the feedback along.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 15:44:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/monitor-shell-panel-status-collapsed-expanded/m-p/1525171#M703</guid>
      <dc:creator>MattDriscoll</dc:creator>
      <dc:date>2024-08-21T15:44:21Z</dc:date>
    </item>
  </channel>
</rss>

