add hideTooltip method to mixin

This commit is contained in:
lana-k
2021-01-28 17:11:21 +01:00
parent a8f49d9187
commit 6cf22cef09
7 changed files with 10 additions and 9 deletions
+3
View File
@@ -12,6 +12,9 @@ export default {
top: e.clientY - 12 + 'px',
left: e.clientX + 12 + 'px'
}
},
hideTooltip () {
this.$set(this.tooltipStyle, 'visibility', 'hidden')
}
}
}