2
0
mirror of https://github.com/tenrok/vue2-datepicker.git synced 2026-06-19 22:30:35 +03:00

feat: add prop default-value for calendar default date (#94)

This commit is contained in:
mxie
2019-02-12 13:34:35 +08:00
parent 3bcedf5d88
commit 4ff6945f0c
4 changed files with 29 additions and 6 deletions
+1
View File
@@ -95,6 +95,7 @@ export default {
| placeholder | input placeholder text | `string` | — |
| width | input size | `string`\|`number` | 210 |
| append-to-body | append the popup to body | `boolean` | false |
| default-value | default date of the calendar | `Date` | new Date() |
| popupStyle | popup style(override the top, left style) | `object` | — |
| not-before | Disable all dates before new Date(not-before) | `string`\|`Date` | ''|
| not-after | Disable all dates after new Date(not-after) | `string`\|`Date`| '' |