Method | Description | |
---|---|---|
Finish ( ) : |
Used to flag that configuration of Options has finished, and returns the SelectMenu object so we can continue defining attributes.
|
|
Options ( |
Constructor
|
|
SetAppendTo ( string value ) : |
Which element to append the menu to
|
|
SetDisabled ( bool value ) : |
Disables the control if set to true.
|
|
SetIcons ( Core selectMenuIcon ) : |
Icons to use for opening the control, matching an icon defined by the jQuery UI CSS Framework. (string, default: "ui-icon-triangle-1-s")
|
|
SetIcons ( string selectMenuIcon ) : |
Icons to use for opening the control, matching an icon defined by the jQuery UI CSS Framework. (string, default: "ui-icon-triangle-1-s")
|
|
SetWidth ( int width ) : |
The width of the menu, in pixels
|
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 ( |
||
selectMenu | SelectMenu to configure options of | |
return | System |
public SetAppendTo ( string value ) : |
||
value | string | value |
return |
public SetDisabled ( bool value ) : |
||
value | bool | If true disables the control, enabled otherwise |
return |
public SetIcons ( Core selectMenuIcon ) : |
||
selectMenuIcon | Core | Dropdown icon to use |
return |
public SetIcons ( string selectMenuIcon ) : |
||
selectMenuIcon | string | Dropdown icon to use |
return |