Example: Setting Menu Configuration Properties At Runtime (YUI Library)

# Example: Setting Menu Configuration Properties At Runtime (YUI Library) [Examples Home]

This example demonstrates how to set MenuItem configuration properties at runtime and listen for the changes through the "configChangedEvent."

Note: By default clicking outside of a menu will hide it. Additionally, menu items without a submenu or a URL to navigate will hide their parent menu when clicked. Click the "Show Menu" button below to make the menu visible if it is hidden.