AnsweredAssumed Answered

Hide/show events for Popup in JS 4.0 Beta 2?

Question asked by GSheppard-esristaff Employee on Dec 4, 2015
Latest reply on Dec 4, 2015 by rscheitlin

In the ArcGIS API 4.0 Beta 2 for JavaScript, how can I listen for the MapView's popup to open or close? Specifically, I need to run code when the user closes the popup. I tried this:


view.popup.on("hide", myFunction);


I tried this:


view.popup.on("blur", myFunction);


But neither of those events seems to exist for a Popup. How do I do it, or is it not possible?