0.1.7 • Published 7 years ago

@minyizhongting/vue-simple-calendar v0.1.7

Weekly downloads
-
License
-
Repository
github
Last release
7 years ago

vue-simple-calendar

根据项目需要,开发的PC端的日历组件。示例见demo

Usage

<vue-simple-calendar
      :show="true"
      :current="'2018-11-11'"
      :first-day="0"
      :weekend="true"
      :default-range="'2018-10-01 2050-03-20'"
      @cancel="cancel"
      @confirm="confirm"
></vue-simple-calendar>

Tips:

  • show: 是否显示日历弹框

  • current: 显示日历时,默认选中日期

  • firstDay: 星期中第一天为周日

  • weekend: 日历中周末是否为可选日

  • defaultRange: 日历的有效范围

  • cancel: 日历取消事件

  • confirm: 日历确定事件

组件示例如下图。

demo.png

Install

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Customize configuration

See Configuration Reference.

Reference

参考vue-fullcalendar

0.1.7

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago