mirror of https://github.com/sveltejs/svelte
parent
fee4d351e1
commit
8169e1d90d
@ -0,0 +1 @@
|
||||
<div>foo</div>
|
@ -0,0 +1,8 @@
|
||||
export default {
|
||||
skip_if_ssr: true,
|
||||
|
||||
html: `
|
||||
<div>foo</div>
|
||||
<div>has foo: true</div>
|
||||
`
|
||||
};
|
@ -0,0 +1,9 @@
|
||||
<script>
|
||||
import Foo from './Foo.svelte';
|
||||
export let foo = {};
|
||||
</script>
|
||||
|
||||
<Foo bind:this={foo['computed']}/>
|
||||
<div>
|
||||
has foo: {!!foo.computed}
|
||||
</div>
|
Loading…
Reference in new issue