wox-vue-calendar
wox vue calendar
1,503
| Install | |
|---|---|
npm install wox-vue-calendar |
|
| Latest Version: | 1.0.9 |
| Vue: | 2 |
| License: | ISC |
| Last Updated: | Apr 28, 2018 |
| Links: | npm |
Maintainer: frend.wong
安装
// yarn
$ yarn add wox-vue-calendar
// npm
$ npm i wox-vue-calendar
使用
<template>
<WoxVueCalendar
:check-callback="callback" // 选中日期回调
:calendar-data="calendarData" // 日历数据 需包含 { monthData: 月份数据, months: 月份列表 }
:month-change="monthChange" // 月份切换回调
:select-date="2018-03-26" // 默认选中日期
/>
</template>
<script>
import { WoxVueCalendar } from 'wox-vue-calendar';
export default {
name: 'Test',
components: {
WoxVueCalendar
},
methods: {
callback( data ) {
console.log(data);
},
monthChange( nowmonth ) {
console.log(nowmonth);
}
}
}
</script>
<style scoped lang="less">
@import './index.less';
</style>
Related Packages
vue2-event-calendar
A vue2 calendar component, have week and month two mode, custom render event
5,382
74
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.0.9 | ^2.5.2 | ISC | |
| 1.0.7 | ^2.5.2 | ISC | |
| 1.0.6 | ^2.5.2 | ISC | |
| 1.0.5 | ^2.5.2 | ISC | |
| 1.0.4 | ^2.5.2 | ISC | |
| 1.0.3 | ^2.5.2 | ISC | |
| 1.0.2 | ^2.5.2 | ISC | |
| 1.0.1 | ^2.5.2 | ||
| 1.0.0 | ^2.5.2 | ||
| 0.2.0 | ISC | ||
| 0.1.14 | ISC | ||
| 0.1.13 | ISC | ||
| 0.1.12 | ISC | ||
| 0.1.11 | ISC | ||
| 0.1.10 | ISC | ||
| 0.1.9 | ISC | ||
| 0.1.8 | ISC | ||
| 0.1.7 | ISC | ||
| 0.1.6 | ISC | ||
| 0.1.5 | ISC | ||
| 0.1.4 | ISC | ||
| 0.1.3 | ISC | ||
| 0.1.2 | ISC | ||
| 0.1.1 | ISC | ||
| 0.1.0 | ISC | ||
| 0.0.30 | ISC | ||
| 0.0.29 | ISC | ||
| 0.0.28 | ISC | ||
| 0.0.27 | ISC | ||
| 0.0.26 | ISC |
Showing the latest 30 of 54. See every release on npm