메소드 | 설명 | |
---|---|---|
Blur ( ) : void |
Removes focus from a menu, resets any active element styles and triggers the menu's blur event.
|
|
Close ( ) : void |
Removes focus from a menu, resets any active element styles and triggers the menu's blur event.
|
|
Collapse ( ) : void |
Closes the currently active sub-menu.
|
|
CollapseAll ( ) : void |
Closes all open sub-menus.
|
|
Destroy ( ) : void |
Removes the menu functionality completely. This will return the element back to its pre-init state.
|
|
Disable ( ) : void |
Disables the menu.
|
|
Enable ( ) : void |
Enables the menu.
|
|
Expand ( ) : void |
Opens the sub-menu below the currently active item, if one exists.
|
|
Focus ( string itemSelector ) : void |
Activates a particular menu item, begins opening any sub-menu if present and triggers the menu's focus
|
|
GetDisabled ( ) : void |
Disables the menu if set to true.
|
|
GetIcons ( ) : void |
Icons to use for submenus, matching an icon defined by the jQuery UI CSS Framework.
|
|
GetMenus ( ) : void |
Icons to use for submenus, matching an icon defined by the jQuery UI CSS Framework.
|
|
GetPosition ( ) : void |
Returns [in JavaScript] the current "position" setting.
|
|
GetRole ( ) : void |
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.
|
|
IsFirstItem ( ) : void |
Returns a boolean value stating whether or not the currently active item is the first item in the menu.
|
|
IsLastItem ( ) : void |
Returns a boolean value stating whether or not the currently active item is the last item in the menu.
|
|
Methods ( |
Constructor
|
|
Next ( ) : void |
Moves active state to next menu item.
|
|
NextPage ( ) : void |
Moves active state to first menu item below the bottom of a scrollable menu or the last item if not scrollable.
|
|
Previous ( ) : void |
Moves active state to previous menu item.
|
|
PreviousPage ( ) : void |
Moves active state to first menu item above the top of a scrollable menu or the first item if not scrollable.
|
|
Refresh ( ) : void |
Initializes sub-menus and menu items that have not already been initialized. New menu items, including sub-menus can be added to the menu or all of the contents of the menu can be replaced and then initialized with the refresh() method.
|
|
Select ( ) : void |
Selects the currently active menu item, collapses all sub-menus and triggers the menu's select event.
|
|
SetDisabled ( bool value ) : void |
Disables the menu if set to true.
|
|
SetIcons ( Core submenu ) : void |
Icons to use for submenus, matching an icon defined by the jQuery UI CSS Framework.
|
|
SetIcons ( string submenu ) : void |
Icons to use for submenus, matching an icon defined by the jQuery UI CSS Framework.
|
|
SetMenus ( string menus ) : void |
Selector for the elements that serve as the menu container, including sub-menus.
|
|
SetPosition ( Core position ) : void |
Specifies where the dialog should be displayed. Possible values: A single string representing position within viewport: 'center', 'left', 'right', 'top', 'bottom'.
|
|
SetPosition ( Core pos1, Core pos2 ) : void |
Specifies where the dialog should be displayed. Possible values: An array containing x,y position string values (e.g. ['right','top'] for top right corner)
|
|
SetPosition ( int pos1, int pos2 ) : void |
Specifies where the dialog should be displayed. Possible values: An array containing an x,y coordinate pair in pixel offset from left, top corner of viewport (e.g. [350,100])
|
|
SetPosition ( string position ) : void |
Specifies where the dialog should be displayed. Possible values: A single string representing position within viewport: 'center', 'left', 'right', 'top', 'bottom'.
|
|
SetPosition ( string position, bool inDoubleQuotes ) : void |
Specifies where the dialog should be displayed. Possible values: A single string representing position within viewport: 'center', 'left', 'right', 'top', 'bottom'.
|
|
SetPosition ( string pos1, string pos2 ) : void |
Specifies where the dialog should be displayed. Possible values: An array containing x,y position string values (e.g. ['right','top'] for top right corner)
|
|
SetPositionJS ( string position ) : void |
Specifies where the dialog should be displayed. Possible values: A single string representing position within viewport: 'center', 'left', 'right', 'top', 'bottom'. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).
|
|
SetRole ( string role ) : void |
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.
|
|
Widget ( ) : void |
Returns a jQuery object containing the menu.
|
public SetPosition ( Core position ) : void | ||
position | Core | New position setting |
리턴 | void |
public SetPosition ( Core pos1, Core pos2 ) : void | ||
pos1 | Core | First position setting |
pos2 | Core | Second position setting |
리턴 | void |
public SetPosition ( int pos1, int pos2 ) : void | ||
pos1 | int | First position setting |
pos2 | int | Second position setting |
리턴 | void |
public SetPosition ( string position ) : void | ||
position | string | New position setting |
리턴 | void |
public SetPosition ( string position, bool inDoubleQuotes ) : void | ||
position | string | New position setting |
inDoubleQuotes | bool | /// true - double quotes (") /// false - single quotes (') /// |
리턴 | void |
public SetPosition ( string pos1, string pos2 ) : void | ||
pos1 | string | First position setting |
pos2 | string | Second position setting |
리턴 | void |
public SetPositionJS ( string position ) : void | ||
position | string | New position setting |
리턴 | void |