Expand Map List widget when opening the application

251
2
02-03-2023 04:59 AM
JoseSanchez
Occasional Contributor III

Hello,

Is there a way to expand the Map List Widget when the application opens?

Thanks

 

0 Kudos
2 Replies
JohnDoroba
New Contributor

You have to add "Expand" to require and function, then create an element/widget object in your script.  Then you have to create an expand object  that calls the element/object you want to expand. Here's an example from a JS API script I wrote for a webapp:

JohnDoroba_0-1675432259968.png

JohnDoroba_1-1675432289199.png

Here's an example from ESRI

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

 

 

0 Kudos
SanchezNuñez
Occasional Contributor

Hi John,

I am working directly in AGOL. If I understand correctly this feature requires the developers edition.  This feature is available in WAB.

0 Kudos