I'd like to set the docking position (or maybe eventually it'll be called slot) for a search result popup. For any standard popup component, this can be done with the following code:
const popupComponent = document.querySelector("arcgis-popup");
popupComponent.dockOptions = {
buttonEnabled: true,
position: "bottom-right"
};Before components, setting the docking position would also apply toward search popups as well, but now it doesn't. How can I modify popup parameters on the search result popup, or even add a new action? Thank you.
Solved! Go to Solution.
No problem, @AntonioMedrano. This is a big transition for all of us. Keep posting questions if you run into any issues.
Your understanding is correct. The Popup component is like an opt-in experience.
Here is the key part of the doc:
https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-popup/