-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtextarea.html
68 lines (53 loc) · 1.47 KB
/
textarea.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
56
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='UTF-8'>
<title>SMS Counter by seven</title>
<link href='./style.css' rel='stylesheet'>
<script src='./Color.js'></script>
<script src='./layout.js'></script>
<script src='./script.js'></script>
<script src='../dist/index.js'></script>
</head>
<body>
<h1>SMS Counter by seven.io</h1>
<h2>Message</h2>
<textarea aria-label='SMS Counter Example' data-seven-sms rows='5'></textarea>
<h2>Details</h2>
<table>
<tr>
<th>Encoding</th>
<td id='encoding'></td>
</tr>
<tr>
<th>Character Count</th>
<td id='charCount'></td>
</tr>
<tr>
<th>SMS Count</th>
<td id='msgCount'></td>
</tr>
<tr>
<th>SMS Character Limit</th>
<td id='charLimit'></td>
</tr>
</table>
<h2>Messages</h2>
<ul id='messages'></ul>
<h3>Legend</h3>
<dl>
<dt id='escape'></dt>
<dd>Escape character 0x1B required to access these characters:
<code>| ^ € { } [ ] ~</code>
</dd>
<dt id='notGsm'></dt>
<dd>Force Unicode encoding as character is not present in GSM charset</dd>
<dt id='unicode'></dt>
<dd>Unicode encoded character present in GSM charset</dd>
<dt id='regular'></dt>
<dd>Regular 7-bit character present in GSM charset</dd>
<dt id='udh'></dt>
<dd>User Defined Header (UDH) required for multipart sms</dd>
</dl>
</body>
</html>