Select to view content in your preferred language

calcite-action-menu missing in document

1210
3
Jump to solution
08-08-2022 01:45 AM
Labels (2)
baohuachu2
Emerging Contributor

The "calcite-action-menu" is used as menu items of the action. In the document it is not available while in the map viewer it is used.  

 

 

menuitem.jpg

0 Kudos
1 Solution

Accepted Solutions
BenElan
Esri Contributor

Hi @baohuachu2,

Action Menu isn't fully supported at this time, which is why it is not in the public facing documentation. We hope to clean it up and support it for the public in the future. 

View solution in original post

0 Kudos
3 Replies
BenElan
Esri Contributor

Hi @baohuachu2,

Action Menu isn't fully supported at this time, which is why it is not in the public facing documentation. We hope to clean it up and support it for the public in the future. 

0 Kudos
GertConradie
Frequent Contributor

Any progress on the documentation?

I'm trying to find a way on how to keep a menu options expanded once click: For example in the layer list widget example:

https://developers.arcgis.com/javascript/latest/sample-code/widgets-layerlist-actions/ 

When one change the opacity of a layer, the menu options collapse back to the trigger button "...". I I have a similar widget, but I want to keep the menu open, so that the user can repeatedly click on a menu action until he is happy with what he see.

Is that possible?

0 Kudos
Mac_And_Cheese
Occasional Contributor

You could try a Dropdown with `close-on-select-disabled` - which should support the use case you describe.

Codepen example of Dropdown with `close-on-select-disabled` 

0 Kudos