mirror of https://github.com/sveltejs/svelte
deconflict with implicit props - fixes #1957
parent
dcad65b118
commit
423e4e6cbc
@ -0,0 +1,11 @@
|
||||
export default {
|
||||
preserveIdentifiers: true,
|
||||
|
||||
props: {
|
||||
click_handler: 'x'
|
||||
},
|
||||
|
||||
html: `
|
||||
<button>x</button>
|
||||
`
|
||||
};
|
@ -0,0 +1 @@
|
||||
<button on:click="{() => foo()}">{click_handler}</button>
|
Loading…
Reference in new issue