An open API service indexing awesome lists of open source software.

https://github.com/runyasak/v-digital-time-picker

Digital Time Picker for Vuetify
https://github.com/runyasak/v-digital-time-picker

hacktoberfest hacktoberfest2020 typescript vuejs vuetifyjs

Last synced: 5 months ago
JSON representation

Digital Time Picker for Vuetify

Awesome Lists containing this project

README

          


Buy Me A Coffee



Build Status

NPM version
NPM downloads
License

# 🚀 VDigitalTimePicker

Digital Time Picker for [Vuetify](https://vuetifyjs.com/).



## Installation

Insall dependencies
```bash
npm install v-digital-time-picker
```
For yarn
```bash
yarn add v-digital-time-picker
```

## Quick Start
Implement `VDigitalTimePicker` as plugin
```javascript
import VDigitalTimePicker from 'v-digital-time-picker'

Vue.use(VDigitalTimePicker)
```

You can import as individual component

```javascript
import { VDigitalTimePicker } from 'v-digital-time-picker'

Vue.component('v-digital-time-picker', VDigitalTimePicker)
```

## Basic Usage
You can implement on Vue template.

```html





export default {
data () {
return {
timeValue: ''
}
}
}

```

You can use with [vee-validate](https://logaretm.github.io/vee-validate/)

```html




{{ errors }}



```

> `VDigitalTimePicker` extends from [VTextField](https://vuetifyjs.com/en/components/text-fields/) by transparent wrappers.

## Props

| Name | Type | Required | Description |
|---------|--------|----------|------------------------------------------------|
| `value` | string | No | Binding value of as time format (e.g. '11:00') |

## Events
| Name | Description | Parameters |
|---------|-------------------------------|------------|
| `value` | Trigger when value is changed | string |

## Contrubutation
If you want to improve or add any feature, you can submit as pull request.
```
npm install

npm run serve
```

### Run unit tests
```
npm run test:unit
```

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