I have an app (JSAPI 4.28) where the user searches an address and views various districts (police, fire, voting precinct, etc) associated with the address. In the popup header, the user can switch between these features using the arrows. Is there anyway to detect when the user clicks on these arrows to change the feature? If not, is there anyway to remove the header?
You can use reactiveUtils to watch for when the popup.selectedFeature changes, that should do it.
https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html#selectedFeature
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.