Add week numbers

This commit is contained in:
Sergio Crisostomo 2018-01-17 16:40:38 +01:00
parent ac231c9ab4
commit e55ba7a249
7 changed files with 65 additions and 71 deletions

View file

@ -17,7 +17,9 @@
@on-click="handleIconClick"
@mouseenter.native="handleInputMouseenter"
@mouseleave.native="handleInputMouseleave"
:icon="iconType"></i-input>
:icon="iconType"
></i-input>
</slot>
</div>
<transition :name="transition">
@ -41,6 +43,7 @@
:value="internalValue"
:start-date="startDate"
:split-panels="splitPanels"
:show-week-numbers="showWeekNumbers"
v-bind="ownPickerProps"
@ -210,6 +213,10 @@
type: Boolean,
default: false
},
showWeekNumbers: {
type: Boolean,
default: false
},
startDate: {
type: Date
},
@ -423,8 +430,7 @@
onPickSuccess(){
this.visible = false;
this.$emit('on-ok');
}
},
},
watch: {
visible (state) {