<?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: How can I set the Bookmark widget to automatically close when a bookmark is selected in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-set-the-bookmark-widget-to-automatically/m-p/1125167#M75567</link>
    <description>&lt;P&gt;Thanks&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/115266" target="_self"&gt;AnneFitz&lt;/A&gt;&lt;/SPAN&gt;.&amp;nbsp; That works great!&lt;/P&gt;</description>
    <pubDate>Sat, 11 Dec 2021 17:45:28 GMT</pubDate>
    <dc:creator>WWUMap</dc:creator>
    <dc:date>2021-12-11T17:45:28Z</dc:date>
    <item>
      <title>How can I set the Bookmark widget to automatically close when a bookmark is selected</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-set-the-bookmark-widget-to-automatically/m-p/1124746#M75549</link>
      <description>&lt;P&gt;Hi, I've added the Bookmark widget and would like to automatically close when a user chooses a bookmark.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;~stefan (javascript beginner)&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 04:01:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-set-the-bookmark-widget-to-automatically/m-p/1124746#M75549</guid>
      <dc:creator>WWUMap</dc:creator>
      <dc:date>2021-12-10T04:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: How can I set the Bookmark widget to automatically close when a bookmark is selected</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-set-the-bookmark-widget-to-automatically/m-p/1124900#M75556</link>
      <description>&lt;P&gt;Hi Stefan! You can watch for the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Bookmarks.html#event-bookmark-select" target="_self"&gt;"bookmark-select" event&lt;/A&gt; and then close the expand widget, like this:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const bookmarksWidget = new Bookmarks({
  view: view
});

const bookmarksExpand = new Expand({
  view: view,
  content: bookmarksWidget
});
view.ui.add(bookmarksExpand, "top-right");

// collapses the associated Expand instance
// when the user selects a bookmark
bookmarksWidget.on("bookmark-select", function(event){
  bookmarksExpand.expanded = false;
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 16:20:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-set-the-bookmark-widget-to-automatically/m-p/1124900#M75556</guid>
      <dc:creator>AnneFitz</dc:creator>
      <dc:date>2021-12-10T16:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: How can I set the Bookmark widget to automatically close when a bookmark is selected</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-set-the-bookmark-widget-to-automatically/m-p/1125167#M75567</link>
      <description>&lt;P&gt;Thanks&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/115266" target="_self"&gt;AnneFitz&lt;/A&gt;&lt;/SPAN&gt;.&amp;nbsp; That works great!&lt;/P&gt;</description>
      <pubDate>Sat, 11 Dec 2021 17:45:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-set-the-bookmark-widget-to-automatically/m-p/1125167#M75567</guid>
      <dc:creator>WWUMap</dc:creator>
      <dc:date>2021-12-11T17:45:28Z</dc:date>
    </item>
  </channel>
</rss>

