-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathindex.html
55 lines (50 loc) · 1.33 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<!DOCTYPE html>
<html lang="en">
<head>
<base href="/">
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<title>react-webpack-wrapper-example</title>
<script src="/builds/chat-template.js" type="text/javascript"></script>
<script>
var messages = [
{
message: 'Hey how are you keeping?',
inbound: true,
backColor: 'white',
duration: 1500,
},
{
type: 'typing',
duration: 500,
inbound: true,
},
{
message: 'I have not seen you in ages!!!!',
inbound: true,
backColor: 'white',
duration: 1700,
},
{
type: 'typing',
duration: 1000,
inbound: false,
},
{
message: 'How do I uninstall this messaging app?',
inbound: false,
backColor: 'rgb(218, 211, 232)',
duration: 2500,
}
];
function initialise(){
showChatTemplate(messages, document.getElementById("content"));
}
</script>
</head>
<body onload="initialise()">
<h1>react-webpack-wrapper-example</h1>
<div style="max-width: 600px" id="content" />
</body>
</html>