use server variable as attribute value
This commit is contained in:
parent
bd751011f8
commit
62e079efef
1 changed files with 1 additions and 2 deletions
|
@ -12,11 +12,10 @@
|
||||||
<body>
|
<body>
|
||||||
<a href="/about">About</a>
|
<a href="/about">About</a>
|
||||||
<div>
|
<div>
|
||||||
<hello-world name="Ayo"></hello-world>
|
<hello-world name="{{name}}"></hello-world>
|
||||||
</div>
|
</div>
|
||||||
<span>some text</span>
|
<span>some text</span>
|
||||||
<clickable-text></clickable-text>
|
<clickable-text></clickable-text>
|
||||||
<span>Name: {{ name }}</span>
|
|
||||||
<script>
|
<script>
|
||||||
const helloWorld = document.querySelector("hello-world");
|
const helloWorld = document.querySelector("hello-world");
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
|
Loading…
Reference in a new issue