File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change 6
6
</p >
7
7
8
8
<p align =" center " >
9
- A Vue.js server side component to create dynamic tables. Compatible with Vue 2.x and Laravel.
9
+ A Vue.js component to create dynamic tables. Compatible with Vue 2.x and Laravel.
10
10
</p >
11
11
12
12
<p align =" center " >
@@ -55,6 +55,8 @@ new Vue({
55
55
});
56
56
```
57
57
58
+ ClienSide component is comming soon..
59
+
58
60
### Available Props
59
61
| Prop | Type | Default | Description |
60
62
| -------------| ---------| ----------------| -------------------------------------------------------------|
@@ -70,6 +72,20 @@ new Vue({
70
72
| change | Handle show limit changed. Gets object with new show limit and current page ` {perpage: 10, page: 2} ` |
71
73
| searching | Handles search input. Gets string as parameter |
72
74
75
+ ### Data API Example
76
+ ``` javascript
77
+ {
78
+ " pagination" : {
79
+ " total" : 0 ,
80
+ " to" : 0 ,
81
+ " from" : 0 ,
82
+ " per_page" : 10 ,
83
+ " current_page" : 1
84
+ },
85
+ " data" : [... items]
86
+ }
87
+ ```
88
+
73
89
### Columns
74
90
Each column object needs a ` name ` and ` key ` attributes.
75
91
``` javascript
You can’t perform that action at this time.
0 commit comments