vue-mg-time-picker-selector
v1.0.0
Published
vue-mg-time-picker-selector
Downloads
8
Readme
vue-mg-time-picker-selector
vue-mg-time-picker-selector
Installation
npm i vue-mg-time-picker-selector
Usage
app.js
import DateTimePickerSelector from 'vue-mg-time-picker-selector'
Vue.component('TimePickerSelector', TimeSelector)
Example:
<template>
<section class="container">
<time-picker-selector v-model="time" :min-minute="minMinute" :max-minute="maxMinute"/>
<div>time: {{time}}</div>
</section>
</template>
<style lang="scss" scoped>
</style>
<script>
import TimePickerSelector from '../src/vue-mg-time-picker-selector'
export default {
data() {
return {
time: '',
minMinute: 1,
maxMinute: 120,
}
},
methods: {
///
},
components: {
TimePickerSelector,
},
}
</script>
License
MIT