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
Currently calling a method in a directive requires having to re-bind the context, which is a little redundant.
<button :onclick={{ this.method.bind(this) }}>Run method</button>
It'd be nice if it could support arrow functions, and allow for accessing arguments too (like an event object):
<button :onclick={{ e => this.method(e) }}>Run method</button>
The text was updated successfully, but these errors were encountered:
This is cool feature. Already in TODO.
Sorry, something went wrong.
Ah my bad, didn't see the TODO list. Looking forward to it 👍
No branches or pull requests
Currently calling a method in a directive requires having to re-bind the context, which is a little redundant.
It'd be nice if it could support arrow functions, and allow for accessing arguments too (like an event object):
The text was updated successfully, but these errors were encountered: