vue-call-next

Calendar wrapper for vue
625
Install
npm install vue-call-next
Latest Version:1.0.21
Vue:2
License:ISC
Last Updated:Jan 6, 2023
Links: GitHub  ·  npm
Maintainer: s00d

vue-call-next

Build Status npm version

preview

Simple calendar with selectable dates

Example App

try out this Code Sandbox

Installation

npm install --save vue-call-next

Installing the plugin will globally add the vue-call-next component to your project.

//main.js
import Call from 'vue-call-next'
Vue.use(Call)

But you can also import the standalone component to add locally or for more complex installations.

// foo.vue
import { Call } from 'vue-call-next'
export default {
  components: {
    Call,
  },
}

CSS

you will need to explicitly import this css file in your project.

import 'vue-call-next/call.css'

Basic Usage

You can pass an array of cal objects through the props

<vue-call-next :start="startDate" :helper="false" @set-dates="(start, end) => {startDate = start; endDate = end}" placeholder="change" />
...
<script>
...
  data() {
    return {
      startDate: '2010-01-01',
      endDate: '2010-01-01',
    }
  }
...
</script>
Param Default Description
start NOW() date started, format: YYYY-MM-DD
days-name [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ] array with day name
month-name [ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ] array with month name
min-year 2000 Minimal year to change
range true enable or disable range change
placeholder click text to input placeholder

Related Packages

vue-full-calendar

FullCalendar wrapper for vue

187,893 472
fy-form-render3

测试环境版本新的更新

10,811
@enso-ui/calendar

Calendar page modules and event-management components for Enso UI.

8,197 0
vue-mobile-calendar

a vue component of calendar for mobile Vue移动端日期选择控件

5,490 210
use-on-demand

按需使用的代码工具仓库。

5,487

Version History

Version Released Vue License
1.0.21 ^2.6.11 ISC
1.0.20 ^2.6.11 ISC
1.0.19 ^2.5.4 ISC
1.0.18 ^2.5.4 ISC
1.0.17 ^2.5.4 ISC