How to know when popupMenu is clicked or canceled

I have encountered a problem, click on the selected icon, how do I know that the operation in step 2 as shown below has been canceled, or how can I monitor this operation

You can listen to the events emited by a popupMenu: and popupMenu.close

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.