-
-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathcustomizing.html
65 lines (58 loc) · 1.74 KB
/
customizing.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
<!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 CellFormatting from './customizing/cell-formatting.mjs'
import CellAttributes from './customizing/cell-attributes.mjs'
import RowButtons from './customizing/row-buttons.mjs'
import HtmlInCells from './customizing/html-in-cells.mjs'
import HtmlInHeaderCells from './customizing/html-in-header-cells.mjs'
import VueComponentInCells from './customizing/vue-component-in-cells.mjs'
new window.Vue({
el: '#app',
name: 'GridTestCustomizing',
components: {
CellFormatting,
CellAttributes,
RowButtons,
HtmlInCells,
HtmlInHeaderCells,
VueComponentInCells
},
template: `
<div>
<div>
<h2>Cell Formatting</h2>
<cell-formatting></cell-formatting>
</div>
<div>
<h2>Cell Attributes</h2>
<cell-attributes></cell-attributes>
</div>
<div>
<h2>Row Buttons</h2>
<row-buttons></row-buttons>
</div>
<div>
<h2>HTML in Cells</h2>
<html-in-cells></html-in-cells>
</div>
<div>
<h2>HTML in Header Cells</h2>
<html-in-header-cells></html-in-header-cells>
</div>
<div>
<h2>Vue Component in Cells</h2>
<vue-component-in-cells></vue-component-in-cells>
</div>
</div>
`
})
</script>
</body>
</html>