Skip to content

Commit

Permalink
更新文档
Browse files Browse the repository at this point in the history
  • Loading branch information
bh-lay committed Feb 25, 2020
1 parent e26998a commit 27317b9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ A waterfall flow component based on vue.js
也可以通过 npm 安装。

```bash
npm install -D vue-stick
npm install -s vue-stick
```

引入 `vue-stick` 之后,您可以选择安装为 Vue 全局模块,也可以局部使用。
Expand Down Expand Up @@ -95,8 +95,8 @@ new Vue({
| animationClass | String | - | 'stick-fade-in' | 卡片插入时的动画class |


因瀑布流的特殊性,卡片高度可能会因为内容变化而变化。

一般来说,影响卡片高度的为图片异步加载,这里只考虑卡片内只有一张图片的情况

该项目由原生瀑布流组件 [stick](https://github.com/bh-lay/stick) 演绎而成。
> 说明:
>
> 因瀑布流的特殊性,请尽可能保证卡片內布局的稳定性。为响应可能的高度变化,本组件会延迟到第一张图片加载完成后再渲染
>
> 该项目由原生瀑布流组件 [stick](https://github.com/bh-lay/stick) 演绎而成。
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-stick",
"version": "1.0.6",
"version": "1.0.7",
"description": "基于 vue 的瀑布流组件",
"main": "dist/vue-stick.umd.js",
"repository": {
Expand Down

0 comments on commit 27317b9

Please sign in to comment.