mirror of https://github.com/sveltejs/svelte
parent
efcc5ac6b3
commit
4d92bfb7b0
@ -1,5 +1,6 @@
|
||||
<script>
|
||||
let { value, ...props } = $props.bindable();
|
||||
let { ...properties } = $props();
|
||||
let { value } = $props.bindable();
|
||||
</script>
|
||||
|
||||
<button {...props} onclick={() => value++}>{value}</button>
|
||||
<button {...properties} onclick={() => value++}>{value}</button>
|
||||
|
Loading…
Reference in new issue