Try loading as AMD module or fall back to default loading
The actual widget class
Default options for the widget
items
: a selector pointing to the itemsInitializer function.
Add aria attributes
Attach evenets to the widget
Find the widget structure using the specified configuration
Handle enter key press
Handle space key press
Cleanup the widget and remove remaining references
Install the widget into the JS library
Menubar
The
Menubar
class provides a simple menubar widget.author: Julien Ramboz version: 1.0 references: WAI-ARIA menu role, AOL's Menu style guide usage: Menubar examples requires: Toolbar