Skip to content

Commit 2061531

Browse files
committed
Update demo code
1 parent c6ef250 commit 2061531

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs-build/src/components/ESLintPlayground.svelte

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ let b: number = 1;
3535
3636
<p>{a} + {b} + {c} = {a + b + c}</p>
3737
38+
<span class={
39+
'hello goodbye ' + (a ? 'hello' : '') + \` \${b ? 'world' : ''}\`
40+
} />
41+
3842
<script define:vars={{a, b}}>
3943
console.log(a);
4044
<` +

0 commit comments

Comments
 (0)