@custom_okoshko/vue
@custom_okoshko/vue
Vue-обёртка (Vue ≥ 3.3) для @custom_okoshko/core.
npm i @custom_okoshko/vue @custom_okoshko/themes @custom_okoshko/locales
<script setup>
import { ref } from 'vue';
import '@custom_okoshko/themes/base.css';
import '@custom_okoshko/themes/light.css';
import { Calendar } from '@custom_okoshko/vue';
import { ru } from '@custom_okoshko/locales/ru';
const value = ref(null);
</script>
<template>
<Calendar v-model="value" :locale="ru">{{ value ?? 'Выбрать дату' }}</Calendar>
</template>
v-model— controlled,default-value— uncontrolled.- События:
change,open,close,date-click,event-click. ref.value.instance— инстанс ядра.
Документация и живые демо: DOCS_URL
Лицензия MIT.
Related Packages
vuejs-datepicker
A simple Vue.js datepicker component. Supports disabling of dates, inline mode,...
3,505,193
2,584
@hokify/vuejs-datepicker
A simple Vue.js datepicker component. Supports disabling of dates, inline mode,...
20,022
17
Version History
Pre-releases (1)
| Version | Released | Vue | License |
|---|---|---|---|
| 0.1.0-beta.1 | ^3.3.0 | MIT |