I have a Todo module with a delete function. I want to utilize the delete function as an event handler for @click:
<div v-for="todo in todos">
<v-btn @click="todo.delete">Delete</v-btn>
</div>
However, I am encountering this error:
Invalid handler for event "click": got undefined