AnsweredAssumed Answered

Automatically close a widget when opening another one

Question asked by hlynur.ingolfsson on Nov 30, 2017
Latest reply on Nov 30, 2017 by hlynur.ingolfsson

Hello.

 

Making an app with widgets like search and basemapToggle in API 4x.

All my widgets are being minimized by using the "Exapand" widget, my problem is that i need to close a widget before I open another one, otherwise both widgets stay open and overlap each other (as seen on attached png):

 

 

So instead of this happening I would actually want one widget to close automatically when I open another one, in this case the search widget to automatically close when I open the basemapToggle one (and wise versa)

 

Does anyone have some good solutions for me regarding this?

Outcomes