mirror of https://github.com/sveltejs/svelte
				
				
				
			
						commit
						76faa92464
					
				@ -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