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
I'm not exactly sure if my intuition is OK but I was trying to pass the $listeners property to a specific element of my component doing this:
$listeners
render () { <div on={this.$listeners} /> }
And my app breaks with this:
Module build failed: TypeError: /Users/guille/Documents/vue-test/packages/dialog/src/index.js: Cannot read property 'toLowerCase' of undefined at groupEventAttributes (/Users/guille/Documents/vue-test/node_modules/babel-plugin-jsx-event-modifiers/dist/bundle.js:34:30) at Array.reduce (<anonymous>)
I did what was proposed on #86 and it works:
render () { const attributes = {on: this.$listeners} <div {...attributes} /> }
Shouldn't we support the syntax of my first attempt?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm not exactly sure if my intuition is OK but I was trying to pass the
$listeners
property to a specific element of my component doing this:And my app breaks with this:
I did what was proposed on #86 and it works:
Shouldn't we support the syntax of my first attempt?
The text was updated successfully, but these errors were encountered: