I want to position my menu based upon where the user clicks, but if they click too close to the edge of the screen only part of the menu appears.
How do I know the height/width of the menu befor I execute the CSOM igmenu_showMenu function?