Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
doubaozia authored Jun 25, 2017
1 parent 154dc14 commit 30218b3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Timeline tables allow you create complex data show for logs.
<div id="tlt-container"></div>
```
4. initialise
> data is required
```
var data = [];
for (var i = 0; i < 100; i++) {
Expand All @@ -29,3 +30,10 @@ Timeline tables allow you create complex data show for logs.
data: data
});
```

## Options
|option|type|required|default|comment|
|---|---|---|---|---|
|dateField|String|false|'date'|the date key name in data|
|pageSizes| Array|false|[10, 20, 30, -1]|the page size array, -1 means show all data|
|showPages|Number|false |5|maximum pages once show|

0 comments on commit 30218b3

Please sign in to comment.