Skip to content

Instantly share code, notes, and snippets.

@wdmtech
Last active May 2, 2018 18:23
Show Gist options
  • Save wdmtech/454f8c73e843a917af3c68721fdb3d55 to your computer and use it in GitHub Desktop.
Save wdmtech/454f8c73e843a917af3c68721fdb3d55 to your computer and use it in GitHub Desktop.
How to pass component data AND events to a vue method
<button @click="event => { handleClick(event, item) }">Click me</button>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment