mirror of https://github.com/sveltejs/svelte
parent
df42e4babd
commit
9167c8df4d
@ -0,0 +1,5 @@
|
||||
import { test } from '../../test';
|
||||
|
||||
export default test({
|
||||
compile_error: '`animate:` is not compatible with `customRenderer`'
|
||||
});
|
||||
@ -0,0 +1,9 @@
|
||||
<script>
|
||||
import { flip } from 'svelte/animate';
|
||||
|
||||
let items = [1, 2, 3];
|
||||
</script>
|
||||
|
||||
{#each items as item (item)}
|
||||
<div animate:flip>{item}</div>
|
||||
{/each}
|
||||
@ -0,0 +1,5 @@
|
||||
<script>
|
||||
let value = $state('hello');
|
||||
</script>
|
||||
|
||||
{value}
|
||||
@ -0,0 +1,5 @@
|
||||
import { test } from '../../test';
|
||||
|
||||
export default test({
|
||||
html: 'hello'
|
||||
});
|
||||
@ -0,0 +1,7 @@
|
||||
<script>
|
||||
import Child from './Child.svelte';
|
||||
|
||||
let value = $state('hello');
|
||||
</script>
|
||||
|
||||
<Child bind:value />
|
||||
@ -0,0 +1,5 @@
|
||||
import { test } from '../../test';
|
||||
|
||||
export default test({
|
||||
compile_error: '`bind:` is not compatible with `customRenderer`'
|
||||
});
|
||||
@ -0,0 +1,5 @@
|
||||
<script>
|
||||
let value = $state('');
|
||||
</script>
|
||||
|
||||
<input bind:value />
|
||||
@ -0,0 +1,5 @@
|
||||
import { test } from '../../test';
|
||||
|
||||
export default test({
|
||||
compile_error: '`in:` is not compatible with `customRenderer`'
|
||||
});
|
||||
@ -0,0 +1,5 @@
|
||||
<script>
|
||||
import { fade } from 'svelte/transition';
|
||||
</script>
|
||||
|
||||
<div in:fade>content</div>
|
||||
@ -0,0 +1,5 @@
|
||||
import { test } from '../../test';
|
||||
|
||||
export default test({
|
||||
compile_error: '`out:` is not compatible with `customRenderer`'
|
||||
});
|
||||
@ -0,0 +1,5 @@
|
||||
<script>
|
||||
import { fade } from 'svelte/transition';
|
||||
</script>
|
||||
|
||||
<div out:fade>content</div>
|
||||
@ -0,0 +1,5 @@
|
||||
import { test } from '../../test';
|
||||
|
||||
export default test({
|
||||
compile_error: '`transition:` is not compatible with `customRenderer`'
|
||||
});
|
||||
@ -0,0 +1,5 @@
|
||||
<script>
|
||||
import { fade } from 'svelte/transition';
|
||||
</script>
|
||||
|
||||
<div transition:fade>content</div>
|
||||
Loading…
Reference in new issue