vue2-datepicker
Advanced tools
Comparing version 1.4.1 to 1.5.0
@@ -0,0 +0,0 @@ export default { |
@@ -0,0 +0,0 @@ import Vue from 'vue' |
@@ -5,3 +5,3 @@ { | ||
"main": "datepicker/index.vue", | ||
"version": "1.4.1", | ||
"version": "1.5.0", | ||
"scripts": { | ||
@@ -8,0 +8,0 @@ "dev": "cross-env NODE_ENV=development webpack-dev-server --open --hot", |
@@ -42,3 +42,3 @@ # vue2-datepicker | ||
<div> | ||
<date-picker v-model="time1"></date-picker> | ||
<date-picker v-model="time1" :first-day-of-week="1"></date-picker> | ||
<date-picker v-model="time2" range :shortcuts="shortcuts"></date-picker> | ||
@@ -50,13 +50,14 @@ </div> | ||
| Prop | Type | Default | Description | | ||
|-----------------|---------------|-------------|---------------------------------------------------| | ||
| range | Boolean | false | if true, the type is daterange | | ||
| format | String | yyyy-MM-dd | Date formatting string | | ||
| lang | String | zh | Translation (en/zh/es) | | ||
| placeholder | String | | input placeholder text | | ||
| width | String/Number | 210 | input size | | ||
| disabled-days | Array | [] | Days in YYYY-MM-DD format to disable | | ||
| not-before | String | '' | Disable all dates before date in YYY-MM-DD format | | ||
| not-after | String | '' | Disable all dates after date in YYY-MM-DD format | | ||
| shortcuts | Boolean/Array | true | the shortcuts for the range picker | | ||
| Prop | Type | Default | Description | | ||
|-------------------|---------------|-------------|---------------------------------------------------| | ||
| range | Boolean | false | if true, the type is daterange | | ||
| format | String | yyyy-MM-dd | Date formatting string | | ||
| lang | String | zh | Translation (en/zh/es) | | ||
| placeholder | String | | input placeholder text | | ||
| width | String/Number | 210 | input size | | ||
| disabled-days | Array | [] | Days in YYYY-MM-DD format to disable | | ||
| not-before | String | '' | Disable all dates before date in YYY-MM-DD format | | ||
| not-after | String | '' | Disable all dates after date in YYY-MM-DD format | | ||
| shortcuts | Boolean/Array | true | the shortcuts for the range picker | | ||
| first-day-of-week | Number | 7 | set the first day of week (1-7) | | ||
@@ -63,0 +64,0 @@ ## shortcuts |
@@ -0,0 +0,0 @@ var path = require('path') |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
75
132223