Skip to content
项目

ManukMinasyan/vue-functional-calendar

在 GitHub 查看

关于

Vue.js 函数式日历组件/包

效率与自动化

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Vue Functional Calendar

Vue Functional Calendar

Lightweight calendar and datepicker for Vue 3

Version Software License Downloads Open Collective

Sponsors

Relaticle    GetCopy

Documentation

Live examples, a playground and the full reference are at https://manukminasyan.github.io/vue-functional-calendar/.

Date picker, date range with presets, multiple calendars, time picker, modal and typeable inputs, theming with dark mode, keyboard support and Intl locales. No runtime dependencies.

Install

npm install vue-functional-calendar

This is the Vue 3 build and needs Vue ^3.3.0. Vue 2 users install vue-functional-calendar@^2.10.0.

Usage

Import the component and its stylesheet.

<script setup>
import { ref } from 'vue'
import { FunctionalCalendar } from 'vue-functional-calendar'
import 'vue-functional-calendar/style.css'

const value = ref({})
</script>

<template>
  <FunctionalCalendar v-model="value" is-date-range can-clear-range />
</template>

value.dateRange holds the start and end of the range.

Upgrading from 2.x

Read MIGRATION.md. Templates that use v-model need no change, and the stylesheet is now a separate import.

License

MIT

探索相关项目

加载中…