Api.closePopup

 Show all Hide all

Usable in popups opened by menuItemPopup. Closes the open popup. If the menu item is not a popup then behavior is undefined.

Always use this function instead of closing the window directly with window.close().

Usage

Api.closePopup()