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
9cd0b0761b
svelte
/
test
/
js
/
samples
/
if-block-no-update
/
input.svelte
9 lines
90 B
Raw
Blame
History
<
script
>
export
let
foo
;
<
/
script
>
{#if foo}
<
p
>
foo!
<
/
p
>
{:else}
<
p
>
not foo!
<
/
p
>
{/if}
Reference in new issue
View Git Blame
Copy Permalink