mirror of https://github.com/sveltejs/svelte
10 lines
165 B
10 lines
165 B
6 years ago
|
<script>
|
||
|
import Widget from './Widget.svelte';
|
||
|
let value;
|
||
|
$: reactive = value;
|
||
|
</script>
|
||
|
|
||
|
<Widget bind:value/>
|
||
|
<p>Reactive: {reactive}</p>
|
||
|
<p>Value: {value}</p>
|