If I'm adding the fullscreen widget and activate fullscreen by clicking the widget, how do I programmatically exit fullscreen?
Got it. Thanks.
I had tried that but my fullscreen.viewModel was out of scope because I was calling it inside a trigger-action that was inside an IdentifyTask.
Don't forget to mark this question as answered by clicking on the "Mark Correct" link on the reply that answered your question.
Use the exit method on the view model.
https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Fullscreen-FullscreenViewModel.html#exit
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.