1.0.0 • Published 3 years ago

@ohmygodvt95/vue3-pikaday v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Vue3-pikaday

Vue3 wrapper component for Pikaday datepicker

Install

with NPM

npm i @ohmygodvt95/vue3-pikaday 

with Yarn

yarn add @ohmygodvt95/vue3-pikaday 

Usage & Options

<script setup lang="ts">
import VPikaday from "@ohmygodvt95/vue3-pikaday";
import { ref } from "vue";

const pickedDate = ref<String>();
</script>

<template>
   <main>
      <VPikaday
              v-model="pickedDate"
              format="YYYY年MM月DD日"
              :firstDay="0"
              :maxDate="new Date()"
      />
      <br />
      picked: {{ pickedDate }}
   </main>
</template>

NOTE: Pikaday's options can be added using the vue component's properties. List of properties refer here https://github.com/Pikaday/Pikaday#configuration

Contribution

Feel free to create issue for bugs or pull request with fixes / enhancements.

License

MIT

Copyright (c) 2022 - present Ohmygodvt95

1.0.0

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago