33 lines
979 B
HTML
33 lines
979 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>WC demo</title>
|
|
<script type="module" src="./HelloWorld.mjs"></script>
|
|
<script type="module" src="./SimpleText.mjs"></script>
|
|
<script type="module" src="./BooleanPropTest.mjs"></script>
|
|
<script type="module" src="./Counter.mjs"></script>
|
|
<script type="module" src="./Toggle.js"></script>
|
|
</head>
|
|
<body>
|
|
<my-toggle></my-toggle>
|
|
<my-toggle toggle></my-toggle>
|
|
<hr />
|
|
<hello-world emotion="sad"></hello-world>
|
|
<my-counter></my-counter>
|
|
<p>
|
|
<simple-text></simple-text>
|
|
</p>
|
|
<p>
|
|
<boolean-prop-test is-inline anotherOne></boolean-prop-test>
|
|
</p>
|
|
|
|
<script type="module">
|
|
const helloWorld = document.querySelector('hello-world')
|
|
setTimeout(() => {
|
|
helloWorld.props.emotion = 'excited'
|
|
}, 2500)
|
|
</script>
|
|
</body>
|
|
</html>
|