Socket
Socket
Sign inDemoInstall

v-gantt-chart

Package Overview
Dependencies
104
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.5.2 to 1.6.0

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc