Can v-tooltip toggle tooltip content visibility by clicking?

92 Views Asked by At

I'm using v-tooltip plugin that needs to work on mobile devices. Naturally, I had to change trigger since it can't trigger hover on a mobile device.

<div
  class="my-tooltip"
  v-tooltip.top="{
    trigger: 'click',
    content: tooltipContent,
  }">
</div>

Is it possible to make tooltip content toggle visibility clicking on the same element (div in my case)?

I thought hideOnTargetClick: true option would make that possible.

0

There are 0 best solutions below