Header files used: easyui.css, icon.css, jquery-1.4.2.min.js, jquery.easyui.min.js
Copy code
The code is as follows:
Edit Copy div>
Paste
Delete< ;/div>
Select All
JQuery
Copy code
The code is as follows:
$('#mb').menubutton({
menu: '#mm'
称 |
类型 |
描述 |
默认值 |
disabled |
boolean |
启用、禁用按钮 |
false |
plain |
boolean |
是否显示样式 |
false |
menu |
string |
选择器创建一个相应的菜单。 |
null |
duration |
number |
菜单按钮持续显示时间【毫秒】 |
100 |
});
DependencyLink ButtonFeature Description
Weigh |
Type |
Description |
Default value
|
disabled |
boolean |
Enable and disable buttons |
false |
plain |
boolean |
Whether to display the style |
false |
menu |
string |
The selector creates a corresponding menu. |
null |
duration |
number |
Menu button display time [milliseconds] |
100 |
View Demo Official Documentation
Description
There is also a
SplitButton, which I personally feel is the same as menubutt. The official document explains it this way: Similar to MenuButton, SplitButton include linkbutton and menu but can act as a single button.
The only difference is that it can be used as a button by itself. The features are the same as the menubutt above, so I won’t go into details here. If you are interested, you can read the official documentation
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn