Files
hoppscotch/packages/hoppscotch-app/plugins/v-tippy.js
Andrew Bastin 92d8cc7fee fix: xss on tippy fixes #2103
Co-authored-by: Liyas Thomas <hi@liyasthomas.com>
2022-01-31 15:31:40 +05:30

18 lines
336 B
JavaScript

import Vue from "vue"
import VueTippy, { TippyComponent } from "vue-tippy"
Vue.use(VueTippy, {
a11y: false,
animateFill: false,
arrowType: "round",
allowHTML: false,
popperOptions: {
modifiers: {
preventOverflow: {
boundariesElement: "window",
},
},
},
})
Vue.component("Tippy", TippyComponent)