Home >Web Front-end >JS Tutorial >jQuery EasyUI API Chinese documentation - MenuButton menu button usage introduction_jquery

jQuery EasyUI API Chinese documentation - MenuButton menu button usage introduction_jquery

WBOY
WBOYOriginal
2016-05-16 18:01:131500browse

extends from $.fn.linkbutton.defaults. Rewrote defaults with $.fn.menubutton.defaults .


Dependencies
menu
linkbutton
Usage

Copy code The code is as follows:

Edit

Undo

Redo


Cut

Copy

Paste


Delete

Select All



Copy code The code is as follows:

$('#mb').menubutton({
menu: '#mm'
});

特性

其特性扩展自 linkbutton,下列是 menubutton 增加的特性。

名称

类型

说明

默认值

plain

boolean

True 就显示一个简单效果。

true

menu

string

创建一个相应 menu 的选择器。

null

duration

number

当悬停在按钮上时,以毫秒为单位定义的,显示menu的持续时间。

100

方法

名称

参数

说明

options

none

返回选项(options)对象。

disable

none

禁用 menubutton

enable

none

Enable menubutton.

Statement:
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