Ribbon

扩展组件 » Ribbon

Include Ribbon Files

To create a ribbon component, include 'ribbon.css','ribbon-icon.css' and 'jquery.ribbon.js' files.

Create Ribbon

Create from markup

Create using javascript。

属性

The properties extend from tabs, below is the added properties for ribbon。

名称 类型 描述 默认
data object The ribbon description object。 undefined

事件

The events extend from tabs, below is the added events for ribbon。

名称 参数 描述
onClick name,target Fires when click a button. The parameters contain:
name: the button name。
target: the clicked dom element.

方法

The methods extend from tabs, below is the added methods for ribbon。

名称 参数 描述
loadData data Load the ribbon data。

下载EasyUI扩展:

jquery-easyui-ribbon.zip