File size: 722 Bytes
4723216
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<select id="chatui-select" style="display: none"></select>

<link href="./index.css" rel="stylesheet" type="text/css" />

<div class="chatui">
  <div class="chatui-chat" id="chatui-chat" height="100"></div>

  <div class="chatui-inputarea">
    <input
      id="chatui-input"
      type="text"
      class="chatui-input"
      placeholder="Enter your message..."
    />
    <button id="chatui-send-btn" class="chatui-send-btn">Send</button>
  </div>
</div>

<div class="chatui-extra-control">
  <button id="chatui-reset-btn" class="chatui-reset-btn">Reset</button>
  <label id="chatui-info-label"></label>
</div>
<!--- Place script after ui to make sure ui loads first -->
<script type="module" src="./index.ts"></script>