EasyUI
TimeLine
Override defaults with $.fn.timeline.defaults.
Dependencies
- None
Usage
Create TimeLine from markup.
Create TimeLine using javascript.
Properties
Name | Type | Description | Default |
---|---|---|---|
width | number | Set the component width. | auto |
height | number | Set the component height. | 200 |
data | array | The data to be loaded. | [] |
dotStyler | function | Return the styles of the dot indicator. | |
dotFormatter | function | Return the content of the dot indicator. | |
formatter | function | Return the item content of the line. |
Events
Name | Parameters | Description |
---|---|---|
onClick | row | Fires when the line is clicked. |
Methods
Name | Parameter | Description |
---|---|---|
options | none | Return the options object. |
loadData | data | Load the data to display lines. |