Home > Web Front-end > JS Tutorial > body text

jQuery EasyUI API 中文文档 - MenuButton菜单按钮使用介绍_jquery

WBOY
Release: 2016-05-16 18:01:13
Original
1453 people have browsed it

扩展自 $.fn.linkbutton.defaults。用 $.fn.menubutton.defaults 重写了defaults


依赖
menu
linkbutton
用法

复制代码 代码如下:

Edit

Undo

Redo


Cut

Copy

Paste


Delete

Select All



复制代码 代码如下:

$('#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

启用 menubutton

Related labels:
source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!