-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
37 lines (32 loc) · 1.12 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="scaffolded-by" content="https://github.com/dart-lang/stagehand">
<title>FlowChart - GoJS and Dart</title>
<link rel="icon" href="favicon.ico">
<script src="https://unpkg.com/[email protected]/release/go-debug.js"></script>
<script type="text/javascript">
window.onload = function() {
console.log('Loading dart...', go.Model);
var script = document.createElement('script');
script.onload = function () {
console.log('Dart loaded!');
};
script.src = 'example/flowchart/main.dart.js';
document.head.appendChild(script);
}
</script>
</head>
<body>
<div style="width: 100%; display: flex; justify-content: space-between">
<div id="palette"
style="width: 100px; margin-right: 2px; background-color: #282c34;"></div>
<div id="diagram"
style="flex-grow: 1; height: 750px; background-color: #282c34;"></div>
</div>
<div>
</bod>
</html>