Simple, but working!, prototype of a WebComponent based clock.

This commit is contained in:
Manuel Friedli 2022-10-05 01:28:29 +02:00
parent 4071e8be63
commit 2ada8acc64
Signed by: manuel
GPG key ID: 41D08ABA75634DA1
7 changed files with 674 additions and 0 deletions

17
webcomponent/index.html Normal file
View file

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Test page</title>
<style>
@font-face {
font-family: 'Clockfont';
src: url('../legacy/resources/uhr.woff') format('woff');
}
</style>
<script type="module" src="clock.js"></script>
</head>
<body>
<word-clock style="display: inline-block; width:800px;height:800px" debug="false"></word-clock>
</body>
</html>