Skip to content
This repository has been archived by the owner on May 9, 2019. It is now read-only.

Commit

Permalink
Merge pull request #5 from bhollan5/master
Browse files Browse the repository at this point in the history
Added 'lang' prop, allowing easy English translation
  • Loading branch information
zhaokuohaha authored Aug 14, 2018
2 parents 3df1993 + 101da25 commit 1cfdd61
Show file tree
Hide file tree
Showing 5 changed files with 7,383 additions and 8 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,20 @@ npm run build

## Property

|property|type|defaluse|comment|
|property|type|defaults|comment|
|---|---|---|---|
|model|Array (multi = true) , Date (multi = false)|- |the model of date picker|
|multi| Boolean| true |use multi select |
|disp| Array<String>|['日', '一', '二', '三', '四', '五', '六','年', '月', '取消', '确定']| the order of array must strict|
|
|disp| Array<String>|['日', '一', '二', '三', '四', '五', '六','年', '月', '取消', '确定']| Customize display text. The order of array must strict |
|lang| String | 'zh' | Set to 'en' to translate to english |


## Usage

> noti: selected dates are UTC formatted
> Notice: selected dates are UTC formatted
### Manually
1. Coppy `/src/lib/multiDatePicker.vue` to your project
1. Copy `/src/lib/multiDatePicker.vue` to your project

2. Use as component
```html
Expand Down
Loading

0 comments on commit 1cfdd61

Please sign in to comment.