MenuButton
Extend from $.fn.linkbutton.defaults. Override defaults with $.fn.menubutton.defaults.
Dependencies
- menu
- linkbutton
Usage
Properties
The properties extend from linkbutton, below is the added properties for menubutton.
| Name | Type | Description | Default |
|---|---|---|---|
| plain | boolean | True to show plain effect. | true |
| menu | string | A selector to create a corresponding menu. | null |
| duration | number | Defines duration time in milliseconds to show menu when hovering the button. | 100 |
Methods
| Name | Parameter | Description |
|---|---|---|
| options | none | Return the options object. |
| disable | none | Disable the menubutton. |
| enable | none | Enable the menubutton. |
| destroy | none | Destroy the menubutton. |