2
0
mirror of https://github.com/tenrok/vue-ganttastic.git synced 2026-06-20 06:20:33 +03:00

Can turn off tooltip for a bar by setting "noTooltip: true" in ganttBarConfig

Added moment.js as a dev dependency
Updated package version
This commit is contained in:
Marko Zunic
2020-06-03 13:05:58 +02:00
parent 6586ca95ee
commit 6e34cf8ba6
3 changed files with 10 additions and 3 deletions
+7 -1
View File
@@ -1,6 +1,6 @@
{
"name": "vue-ganttastic",
"version": "0.9.7",
"version": "0.9.12",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@@ -3174,6 +3174,12 @@
"minimist": "1.2.5"
}
},
"moment": {
"version": "2.26.0",
"resolved": "https://registry.npmjs.org/moment/-/moment-2.26.0.tgz",
"integrity": "sha512-oIixUO+OamkUkwjhAVE18rAMfRJNsNe/Stid/gwHSOfHrOtw9EhAY2AHvdKZ/k/MggcYELFCJz/Sn2pL8b8JMw==",
"dev": true
},
"ms": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+2 -1
View File
@@ -1,6 +1,6 @@
{
"name": "vue-ganttastic",
"version": "0.9.11",
"version": "0.9.13",
"description": "A simple and customizable Gantt chart component for Vue.js",
"repository": {
"type": "git",
@@ -27,6 +27,7 @@
"license": "MIT",
"devDependencies": {
"bili": "^4.10.0",
"moment": "^2.26.0",
"rollup-plugin-vue": "^5.1.9",
"vue-template-compiler": "^2.6.11"
},
+1 -1
View File
@@ -27,7 +27,7 @@
<transition name="fade" mode="out-in">
<div
v-if="showTooltip || isDragging"
v-if="!barConfig.noTooltip && (showTooltip || isDragging)"
class="g-gantt-tooltip"
:style="tooltipStyle"
>