Vue Calendar
Installation
yarn add @alibaba-aero/vue-calendar
Usage
<template>
<vuec-calendar/>
</template>
<script>
import { VuecCalendar } from '@alibaba-aero/vue-calendar';
import '@alibaba-aero/vue-calendar/dist/vue-calendar.min.css';
export default {
components: {
VuecCalendar
}
}
</script>
Components
range-input
theme
: String - defaultmobile
: Boolean - falseselectable
: Boolean - falsedata
: Object - {}min-date
: Object/String - nullmax-date
: Object/String - nullvisible-months
: Number - 1selection-mode
: String - singlevalue
: Object - {}open
: Boolean - falseformat
: String - YYYY/M/D
calendar
theme
: String - defaultselectable
: Boolean - falsedata
: Object - {}min-date
: Object/String - nullmax-date
: Object/String - nullvisible-months
: Number - 1show-previous-weeks
: Boolean - trueshow-navigation
: Boolean - truedate
: Object - moment()selections
- Array - []
month
selectable
: Boolean - falsemin-date
: Object/String - nullmax-date
: Object/String - nulldate
: Object - [required]- (??)
adapter
: Function - {} selection
: Array - []show-title
: Boolean - truetitle
: String - ''
day
data
: Object - {}index
: Number - [required]date
: Object - nulldisabled
: Boolean - falseselected
: Boolean - falseselectable
: Boolean - false