KABBOUCHI / vue-tippy

VueJS Tooltip powered by Tippy.js
https://vue-tippy.netlify.app
MIT License
726 stars 87 forks source link

placement in breakpoints #208

Closed mtzrmzia closed 2 years ago

mtzrmzia commented 2 years ago

Is there a way to place the tooltip according to the breakpoints?

KABBOUCHI commented 2 years ago

make the placement dynamic?

<template>
 <button content="Hi!" v-tippy="{ placement }">
  Tippy
 </button>
</template>

<script>
export default {
 computed: {
    placement(){
      return 'top'; //breakpoints logic
    }
 }
}
</script>
stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.