Fix example page
This commit is contained in:
Родитель
6ab566e1b7
Коммит
867ae38164
|
@ -1,15 +1,18 @@
|
||||||
<!doctype html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8" />
|
||||||
<title>custom-element demo</title>
|
<title>typing-effect demo</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<custom-element></custom-element>
|
<typing-effect data-lines='["Welcome to GitHub!", "Let’s begin the adventure"]'>
|
||||||
|
<span data-target="typing-effect.content"></span>
|
||||||
|
<span data-target="typing-effect.cursor">|</span>
|
||||||
|
</typing-effect>
|
||||||
|
|
||||||
<script type="module">
|
<script type="module">
|
||||||
// import 'https://unpkg.com/@github/custom-element-boilerplate@latest/dist/index.js'
|
import 'https://unpkg.com/@github/typing-effect@latest/dist/index.js'
|
||||||
import '../dist/index.js'
|
//import '../dist/index.js'
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче