This website works better with JavaScript.
欢迎来到马士兵代码仓库
Sign In
msb-public
/
svelte
mirror of
https://github.com/sveltejs/svelte
Watch
1
Star
0
Code
Issues
Projects
Releases
Wiki
Activity
6c85f6a6b5
svelte
/
test
/
runtime
/
samples
/
if-block-elseif-no-else
/
main.svelte
6 lines
90 B
Raw
Blame
History
{
#if
x
>
10
}
<
p
>
x is greater than 10
</
p
>
{
:else
if
x
<
5
}
<
p
>
x is less than 5
</
p
>
{
/if
}
Reference in new issue
View Git Blame
Copy Permalink