v-gantt-chart
Advanced tools
Comparing version 1.5.2 to 1.6.0
{ | ||
"name": "v-gantt-chart", | ||
"version": "1.5.2", | ||
"version": "1.6.0", | ||
"description": "display gantt-like vaule,like use this to order bus schedule.", | ||
@@ -5,0 +5,0 @@ "main": "dist/v-gantt-chart.umd.min.js", |
@@ -323,2 +323,16 @@ <p align="center"><img src="https://raw.githubusercontent.com/w1301625107/vue-gantt-chart/master/screenshot/icon.png" alt="logo" width="180"></p> | ||
### markline 时间标记线slot | ||
```html | ||
<template v-slot:markLine="{markLineTime, getPosition}"> | ||
<!-- 你的时间标记线组件 --> | ||
<TestMarkline :markLineTime="markLineTime" :getPosition="getPosition"></TestMarkline> | ||
</template> | ||
``` | ||
`markLineTime` 为 传人的`timelines`的每一个值 | ||
`getPosition(day:string):number` | ||
计算当前时间的偏移值,参数为day,返回偏移值 | ||
### title 标题slot | ||
@@ -493,2 +507,5 @@ | ||
## Update | ||
1.6.0 | ||
- 添加markline slot 支持 | ||
1.5.2 | ||
@@ -495,0 +512,0 @@ - 修复文档中的错误的默认值 |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
485739
10396
600
0