I have a table displaying email data, including the email subject which is initially truncated (substr). I would like to display the full email subject when the table data cell is clicked.
<tbody>
<tr v-for="email in emails.data" :key="email.id">
<td v-text="store.getSubjectTruncated(email)" :title="store.getSubject(email)"></td>
...
Currently I've only been able to display the full subject as the "title" when hovering over the cell.
Is it possible to do something like @click="v-text = getSubject(email)"?