# light-vue-timepicker

> Simple timepicker for VUE.JS made with Bootstrap

Latest version **1.0.2** (published 2020-09-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install light-vue-timepicker
pnpm add light-vue-timepicker
yarn add light-vue-timepicker
bun add light-vue-timepicker
```

## 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.2 |
| Published | 2020-09-25 |
| First published | 2020-09-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 9.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Julien Kennel |
| Maintainers | nahmey |
| Keywords | vuejs, timepicker, bootstrap, package |

## Links

- npm: https://www.npmjs.com/package/light-vue-timepicker
- Repository: https://github.com/nahmey/light-vue-timepicker
- Homepage: https://github.com/nahmey/light-vue-timepicker#readme
- Issues: https://github.com/nahmey/vuejs-laravel-table-paginate-crud/issues
- npm.io page: https://npm.io/package/light-vue-timepicker

## Alternatives

- [@sveltejs/kit](https://npm.io/package/@sveltejs/kit.md) — 2.2M weekly downloads
- [@tangle-network/brand](https://npm.io/package/@tangle-network/brand.md) — 10.0K weekly downloads
- [seneca](https://npm.io/package/seneca.md) — 7.4K weekly downloads
- [@bsb/base](https://npm.io/package/@bsb/base.md) — 7.2K weekly downloads
- [@modern-js/plugin-swc](https://npm.io/package/@modern-js/plugin-swc.md) — 3.4K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2020-09-25
- 1.0.1 — 2020-09-25
- 1.0.0 — 2020-09-25

## README

# light-vue-timepicker

<!-- ![alt text](https://julien-kennel.fr/images/git/table.PNG) -->

Simple timepicker for VUE.JS made with Bootstrap

- [Dependencies](#dependencies)
- [Installation](#installation)
- [Usage](#example-usage)
- [Retrieve Data](#retrieve-data)
- [Props](#props)
- [Example](#example)

## Dependencies
* Vue.js. Required.
* Bootstrap (CSS). Required.
* Fontawesome. Optional. (https://fontawesome.com/)

## Installing

Install with npm:
```bash
npm i light-vue-timepicker
```

Import globally in app.js:

```javascript
import LightVueTimepicker from 'light-vue-timepicker';
Vue.component('light-vue-timepicker', LightVueTimepicker);



```

## Usage
```html
<light-vue-timepicker></light-vue-timepicker>
```

## Retrieve data

```javascript
variable = {
	yourVmodel.hour,
	yourVmodel.minute,
	yourVmodel.second,
	yourVmodel.a
}
```

## Props

| Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | Type | Description | Default
| ----------------- | :--- | :--- | :--- |
| `hourRange`      | `Array` | Range of hours which displayed (ex ['8-12', '14-19', '22']) | ['00-23'] |
| `minuteRange`      | `Array` | Range of minutes which displayed (ex ['0-30']) | ['00-59'] |
| `secondRange`      | `Array` | Range of secondes which displayed (ex ['0-30']) | ['00-59'] |
| `classe`      | `String` | class(boostrap or other) for input hour and minute | form-control col-5 |
| `format`      | `String` | Format 12 or 24 | 24 |
| `lang`      | `String` | lang fr or en  | null (display HH MM) |
| `withHour`      | `Boolean` | Display input hour  | true |
| `withMinute`      | `Boolean` | Display input minute  | true |
| `withSecond`      | `Boolean` | Display input second  | false |


## Example
```html
<light-vue-timepicker
v-model="time"
lang="en"
:hourRange="['8-12', '14-19', '21']"
:minuteRange="['30', '40', '55-57']"
:withSecond="true"
>
</light-vue-timepicker>
```

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