vue-timepicker
v0.0.3
Published
timepicker, vue-component, vue-plugin
Downloads
188
Maintainers
Readme
vue-timepicker
Time picker component for Vue
Screenshot
Installation
$ npm install vue-timepicker
Usage
var Vue = require('vue')
var TimePicker = require('vue-timepicker')
// or ES2015
import TimePicker from 'vue-timepicker'
new Vue({
el: '#app',
data: {
myTime: ''
},
components: {
TimePicker: TimePicker
}
})
<div id="app">
<h1>{{ myTime }}</h1>
<time-picker :time.sync="myTime"></time-picker>
Development
$ npm install
$ npm run dev
Todo
- [ ] support default value(e.g. now time)
- [ ] optional second selector
- [ ] on change callback