1.0.9 • Published 8 months ago
vue-day-picker v1.0.9
Vue Day Picker
Lightweight date picker component for Vue < 5k 😎 Emits the date selected to parent component
Usage
npm i vue-day-picker
<script setup>
import DayPicker from 'vue-day-picker
const calendarOptions = {
initialDate: '2018-07-22',
minDate: '2018-01-01',
maxDate: '2018-12-31',
};
function handleDateSelected(date) {
//todo
}
</script>
<template>
<DayPicker :calendar-options="calendarOptions" @select-date="handleDateSelected"/>
</template
Contact
Feel free to ping me 💫 connect@giladshohat.com