Skip to content

Commit

Permalink
sticky: update document
Browse files Browse the repository at this point in the history
  • Loading branch information
airyland committed Jul 24, 2017
1 parent 40e2bea commit dcb2438
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/components/sticky/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ extra: |
</div>
```
<p class="warning">
请不要直接照抄 demo 代码,滚动容器为 window 时请不要指定 scroll-box,滚动容器并非使用 `view-box` 时 id 并不是 `vux_view_box_body`,请按照实际情况来设定。
</p>
props:
scroll-box:
default: window
Expand All @@ -57,6 +61,11 @@ slots:
default:
en: content
zh-CN: 内容插槽
methods:
bindSticky:
version: next
en: manually re-bind sticky
zh-CN: 手动重新绑定,用于内容变化导致位置变化定位不再正确的情况
changes:
next:
en:
Expand Down

0 comments on commit dcb2438

Please sign in to comment.