-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
39 lines (37 loc) · 1.16 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
38
39
<!DOCTYPE html>
<html>
<head>
<title>Interactive web playground for data driven apps</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<!--<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" type="text/css">-->
<link
rel="stylesheet"
href="https://unpkg.com/material-components-web@latest/dist/material-components-web.min.css">
<style type="text/css">
.demo-body {
padding: 0;
margin: 0;
box-sizing: border-box;
}
:root {
--mdc-theme-primary: #212121;
--mdc-theme-accent: #64dd17;
}
</style>
</head>
<body class="mdc-typography demo-body">
<div id="app"></div>
<!-- built files will be auto injected -->
<script>
window.handler = function(messageOrAsyncResult) {
if (messageOrAsyncResult.failed) {
console.log(JSON.stringify(messageOrAsyncResult, null, 2));
return;
}
window.msg = messageOrAsyncResult.result ? messageOrAsyncResult.result : messageOrAsyncResult;
console.log(JSON.stringify(msg, null, 2));
};
</script>
</body>
</html>