Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
AwesomeDevin authored Nov 26, 2019
1 parent e8c796f commit 298ff47
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@

#### [中文版文档](https://github.com/AwesomeDevin/vue-waterfall2/blob/master/CHINESE-README.md)
# vue-waterfall2
1. auto adaption for width and height
1. Auto adaption for width and height
2. High degree of customization
3. support lazy load(attribute with `lazy-src`)
3. Support lazy load(attribute with `lazy-src`)
4. Apply to PC/mobile

![The demo on mobile device](https://raw.githubusercontent.com/AwesomeDevin/vue-waterfall2/master/src/assets/gifhome_240x514_17s.gif)

Expand Down Expand Up @@ -37,8 +38,9 @@ npm run dev
## <waterfall> Props
Name | Default | Type | Desc
-------- | -------- | -------- | --------
height | - | String | Container height (null for window scrolling event, not null for container scrolling)
col | 2 | Number | the number of column
width | null | Number | the value of width
width | - | Number | the value of width
gutterWidth | 10 | Number | the value of margin
data | [] | Array | data
isTransition | true | Boolean | load image with transition
Expand Down

0 comments on commit 298ff47

Please sign in to comment.