array stuff in testpage
This commit is contained in:
parent
479ee2e6e0
commit
9d23d503e2
@ -1,12 +1,20 @@
|
||||
<script lang="ts">
|
||||
var testArray = ["test","test2","test3"];
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
<main>
|
||||
<div>Test</div>
|
||||
<div class="testLinks">
|
||||
{#each {length: testArray.length} as _, i}
|
||||
<li>{testArray[i]}</li>
|
||||
{/each}
|
||||
</div>
|
||||
</main>
|
||||
<style>
|
||||
|
||||
.testLinks{
|
||||
margin-top: 16rem;
|
||||
margin-left: 3rem;
|
||||
}
|
||||
|
||||
</style>
|
Loading…
Reference in New Issue
Block a user