vue-datewheel
v2.2.0
Published
![Build Status](https://github.com/meyt/vue-datewheel/actions/workflows/main.yaml/badge.svg?branch=master)
Downloads
23
Readme
vue-datewheel
Simple iOS like date picker for Vue.
Features:
- Based on Browser native Intl implementation
- Zero dependency
- Multi-calendar
- Localization
- Mouse wheel and touch gestures
Install
Vue 2
npm install --save [email protected]
Vue 3
npm install --save vue-datewheel
Usage:
<template>
<v-app>
<v-container>
<vue-datewheel v-model="selectedDate"/>
<div v-text="selectedDate" />
</v-container>
</v-app>
</template>
<script>
import vueDatewheel from 'vue-datewheel'
import 'vue-datewheel/dist/vue-datewheel.css'
export default {
components: {
vueDatewheel,
},
data () {
return {
selectedDate: null
}
}
}
</script>