assembly/plugins/v-tooltip/index.js
Georges KABBOUCHI 5d00313260 wip
2021-07-25 02:40:30 +03:00

13 lines
387 B
JavaScript

import Vue from 'vue'
import { VTooltip, VPopover, VClosePopover } from 'v-tooltip'
import './v-tooltip.css'
VTooltip.options.defaultOffset = 4
VTooltip.options.defaultDelay = 150
VTooltip.options.autoHide = false
VTooltip.options.defaultTrigger = 'hover focus click'
Vue.directive('tooltip', VTooltip)
Vue.directive('close-popover', VClosePopover)
Vue.component('VPopover', VPopover)