|
3 | 3 | "type": "boolean",
|
4 | 4 | "description": "Boolean to automatically set table width. Default: true"
|
5 | 5 | },
|
| 6 | + "gridjs-vue/classNames": { |
| 7 | + "type": "object", |
| 8 | + "description": "Object containing CSS class names. Default: undefined" |
| 9 | + }, |
6 | 10 | "gridjs-vue/cols": {
|
7 | 11 | "type": "array",
|
8 | 12 | "description": "Array containing strings of column headers. Default: undefined"
|
9 | 13 | },
|
10 | 14 | "gridjs-vue/from": {
|
11 |
| - "type": "string", |
12 |
| - "description": "String of HTML table selector. Default: undefined" |
| 15 | + "type": ["string", "function"], |
| 16 | + "description": "String of HTML table selector or function returning HTML table string. Default: undefined" |
13 | 17 | },
|
14 | 18 | "gridjs-vue/language": {
|
15 | 19 | "type": "object",
|
|
20 | 24 | "description": "Boolean or pagination settings object. Default: true"
|
21 | 25 | },
|
22 | 26 | "gridjs-vue/rows": {
|
23 |
| - "type": "array", |
24 |
| - "description": "Array containing row data. Default: undefined" |
| 27 | + "type": ["array", "function"], |
| 28 | + "description": "Array containing or function returning row data. Default: undefined" |
25 | 29 | },
|
26 | 30 | "gridjs-vue/search": {
|
27 |
| - "type": ["boolean", "object"], |
28 |
| - "description": "Boolean or search settings object. Default: false" |
| 31 | + "type": "boolean", |
| 32 | + "description": "Boolean activating search. Default: false" |
29 | 33 | },
|
30 | 34 | "gridjs-vue/server": {
|
31 |
| - "type": "object", |
32 |
| - "description": "Server settings object. Default: undefined" |
| 35 | + "type": ["object", "function"], |
| 36 | + "description": "Server settings object or function returning object. Default: undefined" |
33 | 37 | },
|
34 | 38 | "gridjs-vue/sort": {
|
35 |
| - "type": ["boolean", "object"], |
36 |
| - "description": "Boolean or sort settings object. Default: false" |
| 39 | + "type": "boolean", |
| 40 | + "description": "Boolean activating sort on all columns. Default: false" |
| 41 | + }, |
| 42 | + "gridjs-vue/styles": { |
| 43 | + "type": "object", |
| 44 | + "description": "Object containing CSS style definitions. Default: undefined" |
37 | 45 | },
|
38 | 46 | "gridjs-vue/theme": {
|
39 |
| - "type": ["string"], |
| 47 | + "type": "string", |
40 | 48 | "description": "String with name of theme or 'none' to disable. Default: 'mermaid'"
|
41 | 49 | },
|
42 | 50 | "gridjs-vue/width": {
|
|
0 commit comments