Skip to content

zhuqingsong59/simple-calendar-vue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-calendar-vue

a simple vue component about calendar

Installation

npm i simple-calendar-vue

Usage

import simpleCalendar from 'simple-calendar-vue'
Vue.use(simpleCalendar)

  ...

<simpleCalendar
  @currentMonth="currentMonth"
  v-model="list"
  ref="simpleCalendar">
</simpleCalendar>

Data binding

v-model, binding curent selected date

Props

props type default required Description
initDate String '' No initial moth
preDisabled Boolean false No set per button disabled
nextDisabled Boolean false No set next button disabled
isMultiple Boolean false No Select multiple dates

Events

event Description
currentMonth click pre or next button, return currentMonth

About

a vue component about simpleCalendar

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published