2👍
✅
Why don’t you just add the second event to the function, like this:
methods: {
setActive (event) {
event.target.classList.toggle('open')
this.seen = !this.seen
}
}
Source:stackexchange.com