Skip to content

Commit

Permalink
Fix example page
Browse files Browse the repository at this point in the history
  • Loading branch information
koddsson committed Apr 13, 2021
1 parent 6ab566e commit 867ae38
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions examples/index.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
<!doctype html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>custom-element demo</title>
</head>
<body>
<custom-element></custom-element>
<head>
<meta charset="utf-8" />
<title>typing-effect demo</title>
</head>
<body>
<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">
// import 'https://unpkg.com/@github/custom-element-boilerplate@latest/dist/index.js'
import '../dist/index.js'
</script>
</body>
<script type="module">
import 'https://unpkg.com/@github/typing-effect@latest/dist/index.js'
//import '../dist/index.js'
</script>
</body>
</html>

0 comments on commit 867ae38

Please sign in to comment.