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
Methods are not being bound to the Vue instance on callbacks from events:
@Component({ template: "<button @click="test">click</button> }) class Test { public test() { console.log(this); // null on click } }
This appears to be because methods are not being copied into the $options object.
$options
The text was updated successfully, but these errors were encountered:
Added failing test for #5
4ff5285
Copies get/set and methods into $options for #5,#6
764f7bf
strantr
No branches or pull requests
Methods are not being bound to the Vue instance on callbacks from events:
This appears to be because methods are not being copied into the
$options
object.The text was updated successfully, but these errors were encountered: