File tree Expand file tree Collapse file tree 4 files changed +340
-286
lines changed Expand file tree Collapse file tree 4 files changed +340
-286
lines changed Original file line number Diff line number Diff line change 6
6
},
7
7
"name" : " vue-functional-calendar" ,
8
8
"description" : " A style-uninstallable datepicker component for Vue.js" ,
9
- "version" : " 2.2.2 " ,
9
+ "version" : " 2.2.4 " ,
10
10
"license" : " MIT" ,
11
11
"repository" : {
12
12
"type" : " git" ,
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div >
3
3
<functional-calendar class =" demo-calendar"
4
+ v-model =" calendarData2"
5
+ :sunday-start =" true"
6
+ :is-modal =" false"
7
+ :date-format =" 'dd.mm.yyyy'"
8
+ :change-month-function =" true"
9
+ :change-year-function =" true"
10
+ :is-date-range =" true"
11
+ :is-multiple =" false"
12
+ :calendars-count =" 2"
13
+ :marked-date-range =" {start: '22.4.2019', end: '24.4.2019'}"
14
+ :left-and-right-days =" true"
15
+ ></functional-calendar >
16
+
17
+ <functional-calendar class =" demo-calendar2"
4
18
v-model =" calendarData"
5
19
:sunday-start =" true"
6
20
:is-modal =" false"
7
21
:date-format =" 'dd.mm.yyyy'"
8
22
:change-month-function =" true"
9
23
:change-year-function =" true"
10
24
:is-date-range =" true"
11
- :is-multiple =" true "
25
+ :is-multiple =" false "
12
26
:calendars-count =" 2"
13
27
:marked-date-range =" {start: '22.4.2019', end: '24.4.2019'}"
14
- :left-and-right-days =" false"
15
- ref =" calendar"
28
+ :left-and-right-days =" true"
16
29
></functional-calendar >
30
+
31
+
17
32
<!-- :disabledDates="['27.4.2019','29.4.2019']"-->
18
33
<!-- :disabledDayNames="['Su']"-->
19
34
<blockquote >
40
55
data () {
41
56
return {
42
57
calendarData: {},
58
+ calendarData2: {},
43
59
calendar: {
44
60
dateRange: {
45
61
77
93
</script >
78
94
79
95
<style >
80
- body {
96
+ html , body {
81
97
background-color : #fec928 ;
98
+ padding : 0 ;
99
+ margin : 0 ;
82
100
}
83
101
84
102
.demo-calendar {
85
- margin : 80px 50px ;
86
- width : 735px
103
+ width : 20%
104
+ }
105
+
106
+ .demo-calendar2 {
107
+ width : 635px
87
108
}
88
109
89
110
pre {
You can’t perform that action at this time.
0 commit comments