We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://svelte.technology/repl?version=1.24.0&gist=05a1423a50952efb61eef851a79a3905
{{#each foo as bar}}<div on:click='baz(a)'></div>{{/each}}
produces
function click_handler ( event ) { var component = this._svelte.component; var state = #component.get(); component.baz(state.a); }
The text was updated successfully, but these errors were encountered:
alias #component in hoisted event handlers - fixes #699
2131b28
Merge pull request #701 from sveltejs/gh-699
5eff188
alias #component in hoisted event handlers
Successfully merging a pull request may close this issue.
https://svelte.technology/repl?version=1.24.0&gist=05a1423a50952efb61eef851a79a3905
{{#each foo as bar}}<div on:click='baz(a)'></div>{{/each}}
produces
The text was updated successfully, but these errors were encountered: