YouTip LogoYouTip

Plugins Mb Menubutton

# jQuery EasyUI Menu and Button Plugin - Menubutton Menu Button * * jQuery EasyUI Plugin](#) * * * Extended from $.fn.linkbutton.defaults. Use $.fn.menubutton.defaults to override the default defaults. The menubutton is part of a dropdown menu. It is associated with linkbutton and menu. It displays a linkbutton and hides a menu. When the user clicks or moves the mouse over the linkbutton, the menu will be displayed to allow the user to click the menu. !(#) ## Dependencies * menu * linkbutton ## Usage Typically, the menubutton is created from markup declaratively. Edit
Undo
Redo
Cut
Copy
Paste
Delete
Select All
Create menubutton using javascript. Edit
...
$('#mb').menubutton({ iconCls: 'icon-edit', menu: '#mm'}); ## Properties The properties extend from linkbutton, below are the properties added by menubutton. | Name | Type | Description | Default | | :--- | :--- | :--- | :--- | | plain | boolean | If set to true, display a plain effect. | true | | menu | string | The selector used to find the corresponding menu. | null | | duration | number | Defines the duration in milliseconds to show the menu when hovering over the button. | 100 | ## Methods The methods extend from linkbutton, below are the methods added or overridden by menubutton. | Name | Parameter | Description | | :--- | :--- | :--- | | options | none | Return the options object. | | disable | none | Disable the menubutton. | | enable | none | Enable the menubutton. | | destroy | none | Destroy the menubutton. | * * jQuery EasyUI Plugin](http:
← Plugins Mb SplitbuttonJava Stringbuffer β†’