It seems like the Basemap Gallery should have a property that allows you to show the small button that is the default when using AGOL app builders (older example) but I cannot figure out how to do so.
For Example, This Pen shows the gallery but it is large, I want it collapsed to a button that once clicks expands.
This community post as shown in this pen shows a solution that seems overly complicated and provides extra styling that I do not need.
Is there a way to have the small button in community post with the default esri styling by simply changing gallery settings?
Solved! Go to Solution.
To have a button that expands once clicked to show the BaseMapGallery widget, you can use the Expand widget (as the small button), which then expands to displays the BasemapGallery widget. See https://codepen.io/bsvensson/pen/GRvbyaM
To have a button that expands once clicked to show the BaseMapGallery widget, you can use the Expand widget (as the small button), which then expands to displays the BasemapGallery widget. See https://codepen.io/bsvensson/pen/GRvbyaM