arcgis javascript api 4 resize view.popup dynamically

470
2
02-14-2020 06:01 AM
TomNicoski
New Contributor

I am looking to resize view.popup dynamically in ArcGIS Javascript API 4.x as was able to do in ArcGIS Javascript API 3.x using the map.infoWindow.resize(330,300);.  I have only found .esri-popup__main-container.esri-widget  in 4.x which can only be set once.

0 Kudos
2 Replies
KellyHutchins
Esri Frequent Contributor

One option might be to use the Feature widget to display the popup template content in a resizable container. 

Feature | ArcGIS API for JavaScript 4.14 

0 Kudos
TomNicoski
New Contributor

Thanks, I will try.

0 Kudos