Ribbon

Extension » 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.

Properties

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

Name Type Description Default
data object The ribbon description object. undefined

Events

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

Name Parameters Description
onClick name,target Fires when click a button. The parameters contain:
name: the button name.
target: the clicked dom element.

Methods

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

Name Parameter Description
loadData data Load the ribbon data.

Download the EasyUI Extension:

jquery-easyui-ribbon.zip