# vue-infinite-date-picker

> ``` yarn add vue-infinite-date-picker ```

Latest version **0.2.4** (published 2022-03-15) · 0 weekly downloads

## Install

```sh
npm install vue-infinite-date-picker
pnpm add vue-infinite-date-picker
yarn add vue-infinite-date-picker
bun add vue-infinite-date-picker
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.4 |
| Published | 2022-03-15 |
| First published | 2021-08-16 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 6.1 MB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | xuekl |
| Maintainers | xuekl |
| Keywords | vue, moment, datepicker |

## Links

- npm: https://www.npmjs.com/package/vue-infinite-date-picker
- npm.io page: https://npm.io/package/vue-infinite-date-picker

## Dependencies (3)

- [vue](https://npm.io/package/vue.md) ^2.6.11
- [moment](https://npm.io/package/moment.md) ^2.29.1
- [core-js](https://npm.io/package/core-js.md) ^3.6.5

## Alternatives

- [@js-joda/timezone](https://npm.io/package/@js-joda/timezone.md) — 383.4K weekly downloads
- [chartjs-adapter-moment](https://npm.io/package/chartjs-adapter-moment.md) — 210.8K weekly downloads
- [strftime](https://npm.io/package/strftime.md) — 171.2K weekly downloads
- [vue-flatpickr-component](https://npm.io/package/vue-flatpickr-component.md) — 115.8K weekly downloads
- [timepicker](https://npm.io/package/timepicker.md) — 51.0K weekly downloads

## Recent versions

- 0.2.4 (latest) — 2022-03-15
- 0.2.3 — 2021-08-19
- 0.2.2 — 2021-08-19
- 0.2.1 — 2021-08-19
- 0.2.0 — 2021-08-17
- 0.1.9 — 2021-08-17
- 0.1.8 — 2021-08-17
- 0.1.7 — 2021-08-17
- 0.1.6 — 2021-08-17
- 0.1.4 — 2021-08-17
- 0.1.3 — 2021-08-17
- 0.1.2 — 2021-08-16
- 0.1.1 — 2021-08-16
- 0.1.0 — 2021-08-16

## README

# vue-infinite-date-picker

## Project setup
```
yarn add vue-infinite-date-picker
```

### Usage and configuration
```
<div class="hello">
    <InfiniteDatePicker v-model="currentDate" :options="dateOptions" @change="dateChange"/>
 </div>

import {InfiniteDatePicker} from  'vue-infinite-date-picker'
export default {
    components: {
        InfiniteDatePicker
     },
     data () {
        return {
          currentDate: '2021-08-20 11:26',
          dateOptions: {
            step: 5,
            itemHeight: 40,
            formatter: ['YYYY', 'MM', 'DD', 'HH', 'mm'],
            type: 'datetime'
          }
        }
     }
     ...
```
![Image text](./examples/assets/demo.gif)
### dateOptions
```
{
    step: 5, //时间跨度，仅支持分钟列
    itemHeight: 40, //默认时间行高
    formatter: ['YYYY', 'MM', 'DD', 'HH', 'mm'],  //各列时间format，遵循moment.js
    type: 'datetime', //可选参数 year-month-day year-month moth-day day-hour-minute ...
}
```

### Lints and fixes files
```
yarn lint
```

### Customize configuration
See [Configuration Reference](https://gitee.com/xuekl/vue-infinite-date-picker).

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