.. _dijit/MenuItem: dijit.MenuItem ============== .. contents:: :depth: 2 :Status: :Version: :Authors: These are the line items in a Menu Widget. The display for the MenuItem consists of 3 columns namely Label, Icon and the Accelerator key. Although Menu can display accelerator keys there is no infrastructure currently to actually catch and execute these accelerators. The developer is responsible for the key event handler to support this. A programatically created MenuItem ----------------------------------- .. cv-compound:: .. cv:: javascript .. cv:: html
Creation from markup is more simpler and structured. .. cv-compound:: .. cv:: javascript .. cv:: html Accessibility ============= Keyboard -------- ========================================== ================================================= Action Key ========================================== ================================================= Navigate menu items Top and Down arrow keys Activate a menu item Spacebar or enter ========================================== ================================================= Implementation Notes ==================== See :ref:`dijit.Menu `.