Pass parameter to vue.js @click event handler

In your application sometimes you will need to pass parameter ti event handler, for example if you want to delete a row from a table, you have to pass the parameter of the row’s id

In above code, I am passing the attachment id to the event handler delete_row

So your event handler will be like this