Does Vue use click to control the abbreviation of v-show/v-if?

<button v-click="btn"></button>
<div v-show="div">
   DIV
</div>

div:true;

btn(){
    this.div=!this.div
}
Is there an abbreviated way to control

directly?

Mar.03,2021

@ click=. The syntactic sugar used is equivalent to Vmuron click= Click =



       DIV
    </div>
  </div>
</template>
export default {
  data() {
    return {
      visible: false,
    };
  },
}
Menu