Select to view content in your preferred language

LayerList widget - how to close actions list upon activating an action?

333
0
05-08-2023 04:29 AM
Labels (3)
MichaelLev
Regular Contributor

I develop on WAB 2.25 with JsApi 4.24

If we look upon ESRI example - LayerList widget with actions 

we can see that "US Demographies" has at its rightside a "..." menu.

When the "..." is clicked, a several lines menu is opend and we can click on each line to activate the action we choose.

But - the menu is not auto-closed when we activate an action.

How to make it in my code that the actions-menu will be automatically closed upon activating an action?  

0 Replies