Skip to content

Instantly share code, notes, and snippets.

@carlosrojaso
Last active September 29, 2020 12:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carlosrojaso/3fe0f6abe03e14f9b119dc1d15debec2 to your computer and use it in GitHub Desktop.
Save carlosrojaso/3fe0f6abe03e14f9b119dc1d15debec2 to your computer and use it in GitHub Desktop.
Step 2
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Demo - error-component</title>
</head>
<body>
<script>
class ErrorComponent extends HTMLElement {
}
customElements.define('error-component', ErrorComponent);
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment