Skip to content

Commit 867ae38

Browse files
committed
Fix example page
1 parent 6ab566e commit 867ae38

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

examples/index.html

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
1-
<!doctype html>
1+
<!DOCTYPE html>
22
<html lang="en">
3-
<head>
4-
<meta charset="utf-8">
5-
<title>custom-element demo</title>
6-
</head>
7-
<body>
8-
<custom-element></custom-element>
3+
<head>
4+
<meta charset="utf-8" />
5+
<title>typing-effect demo</title>
6+
</head>
7+
<body>
8+
<typing-effect data-lines='["Welcome to GitHub!", "Let’s begin the adventure"]'>
9+
<span data-target="typing-effect.content"></span>
10+
<span data-target="typing-effect.cursor">|</span>
11+
</typing-effect>
912

10-
<script type="module">
11-
// import 'https://unpkg.com/@github/custom-element-boilerplate@latest/dist/index.js'
12-
import '../dist/index.js'
13-
</script>
14-
</body>
13+
<script type="module">
14+
import 'https://unpkg.com/@github/typing-effect@latest/dist/index.js'
15+
//import '../dist/index.js'
16+
</script>
17+
</body>
1518
</html>

0 commit comments

Comments
 (0)