File tree Expand file tree Collapse file tree 1 file changed +15
-12
lines changed Expand file tree Collapse file tree 1 file changed +15
-12
lines changed Original file line number Diff line number Diff line change 1
- <!doctype html>
1
+ <!DOCTYPE html>
2
2
< 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 >
9
12
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 >
15
18
</ html >
You can’t perform that action at this time.
0 commit comments