# vue-schedule-board

> One easy-to-use component to show somebody's schedule list to help interview arrangement or visit arrangement.

Latest version **1.0.7** (published 2020-01-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install vue-schedule-board
pnpm add vue-schedule-board
yarn add vue-schedule-board
bun add vue-schedule-board
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.7 |
| Published | 2020-01-06 |
| First published | 2019-12-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 304.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 20 |
| Author | Zuo Jinfang |
| Maintainers | jinfang134 |
| Keywords | vue, components, timeline |

## Links

- npm: https://www.npmjs.com/package/vue-schedule-board
- Repository: https://github.com/jinfang134/vue-schedule-board
- Homepage: https://github.com/jinfang134/vue-schedule-board#readme
- Issues: https://github.com/jinfang134/vue-schedule-board/issues
- npm.io page: https://npm.io/package/vue-schedule-board

## Dependencies (1)

- [string-width](https://npm.io/package/string-width.md) ^4.2.0

## Recent versions

- 1.0.7 (latest) — 2020-01-06
- 1.0.6 — 2019-12-24
- 1.0.5 — 2019-12-24
- 1.0.4 — 2019-12-23
- 1.0.3 — 2019-12-23
- 1.0.2 — 2019-12-23
- 1.0.1 — 2019-12-23

## README

# vue-schedule-board

A easy-to-use component to show somebody's schedule list to help interview arrangement or visit arrangement.


[中文](/doc/cn.md)

![Example](https://github.com/jinfang134/vue-schedule-board/blob/master/resources/sample.png?raw=true)


To get started, check out:
[demo](https://jinfang134.github.io/vue-schedule-board/)

## LICENSE

**NOTE:** Vue schedule board is licensed under [The MIT License](https://github.com/jinfang134/vue-pipeline/blob/master/LICENSE). Completely free, you can arbitrarily use and modify this plugin. If this plugin is useful to you, you can **Star** this repo, your support is my biggest motive force, thanks.


## Features

* Created calendar according your data dynamiclly
* Responsive web design
* Via data attributes
* show more than one people's schedule at the same day.


## Install

```
npm install vue-schedule-board
```

```
import Vue from 'vue'
import ScheduleBoard from 'vue-schedule-board'

Vue.use(ScheduleBoard)

```
```
  <scheduler-board :persons="sample2" ref="pipeline" :startHour="10" @dblclick="handleDblClick" />
```

## Props

| Name      | Type    | Default | Description                                          |
| --------- | ------- | ------- | ---------------------------------------------------- |
| persons     | Array  | []    | The person list                             |
| startHour    | number  | 600     | The start hour                                               |
| endHour         | number  | 50      | The end hour                         |
|           |         |         |                                                      |

Person list example:

```
{
    "name": "Arwen",
    "timeSlots": [
      {
        "startTime": "2019/12/10 10:00:00",
        "endTime": "2019/12/10 18:00:00"
      },
      {
        "startTime": "2019/12/11 10:00:00",
        "endTime": "2019/12/11 12:00:00"
      },
      {
        "startTime": "2019/12/12 14:00:00",
        "endTime": "2019/12/12 16:00:00"
      },
      {
        "startTime": "2019/12/13 15:00:00",
        "endTime": "2019/12/13 18:00:00"
      }
    ],
    "assignedTimes": [
      {
        "startTime": "2019-12-10 10:00:00",
        "endTime": "2019-12-10 11:00:00",
        "label": "Candidate A"
      },
      {
        "startTime": "2019-12-12 14:00:00",
        "endTime": "2019-12-12 15:00:00",
        "label": "Candidate B"
      },
    ]
}

```

## Events

| Name   | Params | Description                 |
| ------ | ------ | --------------------------- |
| @click | node   | Occurs when node is clicked |



## Contributing

If you find any bugs and/or want to contribute, feel free to create issues or submit pull requests.

Thanks!

## Local Development
```
cd demo
yarn install

// Compiles and hot-reloads for development
yarn run serve
```


### Lints and fixes files
```
yarn run lint
```

---
_Source: https://npm.io/package/vue-schedule-board · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
