-
-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathbasic.html
100 lines (88 loc) · 2.47 KB
/
basic.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<!DOCTYPE html>
<html lang="en">
<head>
<title>Grid.js Vue Component Test</title>
<script src="https://unpkg.com/vue"></script>
</head>
<body>
<div id="app"></div>
<script type="module">
import HelloWorld from './basic/hello-world.mjs'
import AutoUpdate from './basic/auto-update.mjs'
import FromHtmlTable from './basic/from-html-table.mjs'
import Pagination from './basic/pagination.mjs'
import Search from './basic/search.mjs'
import Sorting from './basic/sorting.mjs'
import Resizable from './basic/resizable.mjs'
import LoadingState from './basic/loading-state.mjs'
import WideTable from './basic/wide-table.mjs'
import FixedHeader from './basic/fixed-header.mjs'
import HiddenColumns from './basic/hidden-columns.mjs'
new window.Vue({
el: '#app',
name: 'GridTestBasic',
components: {
HelloWorld,
AutoUpdate,
FromHtmlTable,
Pagination,
Search,
Sorting,
Resizable,
LoadingState,
WideTable,
FixedHeader,
HiddenColumns
},
template: `
<div>
<div>
<h2>Hello, World!</h2>
<hello-world></hello-world>
</div>
<div>
<h2>Auto-update</h2>
<auto-update></auto-update>
</div>
<div>
<h2>From HTML Table</h2>
<from-html-table></from-html-table>
</div>
<div>
<h2>Pagination</h2>
<pagination></pagination>
</div>
<div>
<h2>Search</h2>
<search></search>
</div>
<div>
<h2>Sorting</h2>
<sorting></sorting>
</div>
<div>
<h2>Resizable Columns</h2>
<resizable></resizable>
</div>
<div>
<h2>Loading State</h2>
<loading-state></loading-state>
</div>
<div>
<h2>Wide Table</h2>
<wide-table></wide-table>
</div>
<div>
<h2>Fixed Header</h2>
<fixed-header></fixed-header>
</div>
<div>
<h2>Hidden Columns</h2>
<hidden-columns></hidden-columns>
</div>
</div>
`
})
</script>
</body>
</html>