Method | Description | |
---|---|---|
Finish ( ) : |
Used to flag that configuration of Options has finished, and returns the Menu object so we can continue defining Tabs attributes.
|
|
Options ( |
Constructor
|
|
SetDisabled ( bool value ) : |
Disables the menu if set to true.
|
|
SetIcons ( Core subMenuIcon ) : |
Icons to use for submenus, matching an icon defined by the jQuery UI CSS Framework.
|
|
SetIcons ( string subMenuIcon ) : |
Icons to use for submenus, matching an icon defined by the jQuery UI CSS Framework.
|
|
SetMenus ( string value ) : |
Selector for the elements that serve as the menu container, including sub-menus.
|
|
SetRole ( string role ) : |
Customize the ARIA roles used for the menu and menu items. The default uses "menuitem" for items. Setting the role option to "listbox" will use "option" for items. If set to null, no roles will be set, which is useful if the menu is being controlled by another element that is maintaining focus.
|
Method | Description | |
---|---|---|
DiscoverOptions ( Core options ) : void |
Builds up a set of options the control can use (i.e. jQuery UI control supports). Which is then used in rendering the JavaScript required to initialise the control properties.
|
|
Reset ( ) : void |
Resets all the control properties back to their default settings (i.e. the defaults as documented by jQuery UI library
|
protected DiscoverOptions ( Core options ) : void | ||
options | Core | Collection to add the identified options to |
return | void |
public Options ( |
||
menu | Menu to configure options of | |
return | System |
public SetDisabled ( bool value ) : |
||
value | bool | If true disables the menu, enabled otherwise |
return |
public SetIcons ( Core subMenuIcon ) : |
||
subMenuIcon | Core | Sub menu icon to use |
return |
public SetIcons ( string subMenuIcon ) : |
||
subMenuIcon | string | Sub menu icon to use |
return |
public SetRole ( string role ) : |
||
role | string | Role to use |
return |