Since I have to change state.active from false to true alot through @click, I was wondering if there is a shorter way in doing so than:
state.active = !state.active
I've tried @click="!state.active" which doesn't seem to work.
Since I have to change state.active from false to true alot through @click, I was wondering if there is a shorter way in doing so than:
state.active = !state.active
I've tried @click="!state.active" which doesn't seem to work.