Configuring menu options
Each of the different components in the library has a series of options that control which features of the widget are enabled by default. An object literal, or an object reference, can be passed in to the menu()
widget method to configure these options.
The available options to configure non-default behaviors are shown in the following table:
Option |
Default value |
Use |
---|---|---|
|
|
Disables the menu if set to |
|
|
Sets the icons to use for submenus, matching an icon provided by the jQuery UI CSS framework. |
|
|
Assigns the selector for the elements that serve as the menu container, including submenus. |
|
|
Identifies the position of submenus in relation to the associated parent menu item. The |