assembly/plugins/v-tooltip/index.js

13 lines
387 B
JavaScript
Raw Normal View History

2021-07-24 23:40:30 +00:00
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)