-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtest.html
More file actions
42 lines (38 loc) · 1.57 KB
/
test.html
File metadata and controls
42 lines (38 loc) · 1.57 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>WebSwift - Test Page</title>
<link rel="stylesheet" href="./assets/index.css" />
</head>
<body>
<c-button command="alert('123')">Hello</c-button>
<c-button primary>Hello</c-button>
<c-button disabled="true">Hello</c-button>
<c-button primary disabled="true">Hello</c-button>
<c-messagebox iconpath="assets/访达.png">
<p slot="title">Title Goes Here</p>
<p slot="text">Text Goes Here</p>
<c-button primary slot="button">Button Goes Here</c-button>
</c-messagebox>
<c-checkbox state="on">Hello</c-checkbox>
<c-checkbox state="off">Hello</c-checkbox>
<c-checkbox state="on" disabled="true">Hello</c-checkbox>
<c-checkbox state="off" disabled="true">Hello</c-checkbox>
<c-window title="Title Goes Here" width="300" height="300">
<p>Content Goes Here</p>
</c-window>
<c-switch state="on"></c-switch>
<c-switch state="off"></c-switch>
<c-switch state="on" disabled="true"></c-switch>
<c-switch state="off" disabled="true"></c-switch>
<c-progress progress="50"></c-progress>
<c-progress progress="50" small></c-progress>
<c-input placeholder="Placeholder"></c-input>
<c-input placeholder="Placeholder" type="search"></c-input>
<c-input placeholder="Placeholder" disabled="true"></c-input>
<c-input placeholder="Placeholder" type="search" disabled="true"></c-input>
<script src="./dist/webswift.js"></script>
</body>
</html>