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
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.