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>
|
||||
<a href="/about">About</a>
|
||||
<div>
|
||||
<hello-world name="Ayo"></hello-world>
|
||||
<hello-world name="{{name}}"></hello-world>
|
||||
</div>
|
||||
<span>some text</span>
|
||||
<clickable-text></clickable-text>
|
||||
<span>Name: {{ name }}</span>
|
||||
<script>
|
||||
const helloWorld = document.querySelector("hello-world");
|
||||
setTimeout(() => {
|
||||
|
|
Loading…
Reference in a new issue