jQuery EasyUI Extension - Ribbon
jQuery EasyUI Extension
Include the Ribbon files
To create a Ribbon component, include the 'ribbon.css', 'ribbon-icon.css', and 'jquery.ribbon.js' files.
Create a Ribbon
Create from markup.
Clipboard
other title
Create using JavaScript.
property
This property extends from the tabs; below are the properties added for the Ribbon.
| Name | Type | Description | Default value |
|---|---|---|---|
| data | object | The description object of the ribbon. | undefined |
Events
This event extends from the tabs; below are the events added for the Ribbon.
| Name | Parameters | Description |
|---|---|---|
| onClick | name,target | Triggered when a button is clicked. Parameters include: |
name:按钮的名称。
target:被点击的 dom 元素。 |
Method
This method extends from the tabs; below are the methods added for the Ribbon.
| Name | Parameters | Description |
|---|---|---|
| loadData | data | Download the Ribbon data. |
Download the jQuery EasyUI example
jQuery EasyUI Extension