You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by so...@apache.org on 2017/06/02 06:04:02 UTC
[22/46] incubator-weex git commit: * [doc] update water fall doc
format
* [doc] update water fall doc format
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/a8cb20f4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/a8cb20f4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/a8cb20f4
Branch: refs/heads/master
Commit: a8cb20f4fe74c5ef56da19bcd3a1b8bec70d5df6
Parents: 703cc99
Author: yinfeng <cx...@apache.org>
Authored: Wed May 17 14:38:31 2017 +0800
Committer: yinfeng <cx...@apache.org>
Committed: Wed May 17 14:38:31 2017 +0800
----------------------------------------------------------------------
doc/source/cn/references/components/waterfall.md | 13 ++++---------
doc/source/references/components/waterfall.md | 13 ++++---------
2 files changed, 8 insertions(+), 18 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/a8cb20f4/doc/source/cn/references/components/waterfall.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/references/components/waterfall.md b/doc/source/cn/references/components/waterfall.md
index 08b01ac..169ec89 100644
--- a/doc/source/cn/references/components/waterfall.md
+++ b/doc/source/cn/references/components/waterfall.md
@@ -1,14 +1,9 @@
-\---
-
+---
title: <waterfall>
-
type: references
-
order: 2.5
-
version: 2.1
-
-\---
+---
# waterfall
@@ -18,7 +13,7 @@ version: 2.1
### 子组件
-注意: 和list一样, waterfall 只支持特定类型的组件: cell, header, refresh, loading 和 fixed-position 组件.
+注意: 和list一样, waterfall 只支持特定类型的组件: cell, header, refresh, loading 和 fixed-position 组件.
- `cell`: 瀑布流中的每个元素
- `header`: 主要用于表示横跨多列的元素,可以通过css的position属性设置为sticky
@@ -33,7 +28,7 @@ version: 2.1
- `<integer>`: 最佳列数,column-width 和 column-count 都指定非0值, 则 column-count 代表最大列数。
- **column-gap**: 列与列的间隙. 如果指定了 `normal` ,则对应 `32`.
-其他支持的属性参见 [List Component Attributes](./list.html)
+其他支持的属性参见 [List Component Attributes](./list.html)
### 样式
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/a8cb20f4/doc/source/references/components/waterfall.md
----------------------------------------------------------------------
diff --git a/doc/source/references/components/waterfall.md b/doc/source/references/components/waterfall.md
index 5c035d0..57e1306 100644
--- a/doc/source/references/components/waterfall.md
+++ b/doc/source/references/components/waterfall.md
@@ -1,14 +1,9 @@
-\---
-
+---
title: <waterfall>
-
type: references
-
order: 2.5
-
version: 2.1
-
-\---
+---
# waterfall
@@ -18,7 +13,7 @@ A component providing waterfall layout.
### Child Components
-Notes: The waterfall now supports the following child components: cell, header, refresh, loading and fixed-position components. Other kinds of components will not be guaranteed to be displayed correctly.
+Notes: The waterfall now supports the following child components: cell, header, refresh, loading and fixed-position components. Other kinds of components will not be guaranteed to be displayed correctly.
* cell: presents the content for a single data item in waterfall
* header: components that need to stretch across multiple columns. It can be sticky by using css position.
@@ -33,7 +28,7 @@ Notes: The waterfall now supports the following child components: cell, header,
* `<integer>`: describes the optimal number of columns into which the content of the element will be flowed. Values must be greater than 0. If both column-width and column-count have non-auto values, the integer value describes the maximum number of columns.
* **column-gap**:sets the gap between columns. if `normal` is specified, the gap will be `32`.
-To see other attributes, please checkout [List Component Attributes](./list.html)
+To see other attributes, please checkout [List Component Attributes](./list.html)
### Styles