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

@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
vue2-event-calendar

A vue2 calendar component, have week and month two mode, custom render event

5,382 74
ele-calendar

A Vue.js calendar

3,361
cs-calendar

A Vue.js project

362

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