svelte/test/parser/samples/if-block-elseif/input.html

6 lines
94 B

{{#if x > 10}}
<p>x is greater than 10</p>
{{elseif x < 5}}
<p>x is less than 5</p>
{{/if}}