Dynamically added submenu items

Items can be dynamically added to the menu. Try using the input fields below to create a multilevel menu. Clicking on the dynamically added items causes the onShow callback to fire.

Name: To:

Right-click here to open the menu.