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