Example 10: Listening For DOM-Related Events [Examples Home]

This example demonstrates how to listen for DOM-related events. Interaction with the Menu will result in event information being output to the console. Please note: Disabled MenuItem instance do not fire DOM events. This is demonstrated with the second MenuItem instance.