PopupView - button click hide


I was using the PopupView lately for the first time - great component.
But as written in the sampler, I was adding a button to its “opened” view, but I cant see how I can assign closing the PopupView to when action on button click was ok?

Any ideas?


Doesn’t PopupView#setPopupVisible(false) do the trick?

Thanks a lot - yes it does!!