@avs/go 0.12.71731 → 0.13.71740
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/demo/data/hydrogen.json +1 -0
- package/demo/jsonView.html +31 -0
- package/dist/avs-go.min.js +1 -1
- package/lib/avs-three.module.min.js +2 -2
- package/package.json +2 -1
- package/src/avs-go-dataviz.js +51 -54
- package/src/constants.js +1 -1
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html>
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<title>Read static JSON file with AVS/Go</title>
|
|
6
|
+
<style>
|
|
7
|
+
body {
|
|
8
|
+
width: 100vw;
|
|
9
|
+
height: 100vh;
|
|
10
|
+
margin: 0;
|
|
11
|
+
background-color: black;
|
|
12
|
+
color: white;
|
|
13
|
+
font-family: Roboto, Arial, Helvetica, sans-serif;
|
|
14
|
+
}
|
|
15
|
+
h2 {
|
|
16
|
+
position: fixed;
|
|
17
|
+
padding-left: 1em;
|
|
18
|
+
}
|
|
19
|
+
avs-go-dataviz {
|
|
20
|
+
position: absolute;
|
|
21
|
+
}
|
|
22
|
+
</style>
|
|
23
|
+
</head>
|
|
24
|
+
|
|
25
|
+
<body>
|
|
26
|
+
<avs-go-dataviz url='data/hydrogen.json' url-load-json-file renderer="THREEJS" transform-enable></avs-go-dataviz>
|
|
27
|
+
<h2>Read static ThreeJS JSON file with <avs-go-dataviz> Web Component</h1>
|
|
28
|
+
<script type="text/javascript" src="../dist/avs-go.min.js"></script>
|
|
29
|
+
</body>
|
|
30
|
+
|
|
31
|
+
</html>
|