Repository: incubator-weex-site Updated Branches: refs/heads/master 9caa891f8 -> a192a5562
[WEEX-192][android]Weex Document Waterfall Document Update Project: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/commit/657c6c68 Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/tree/657c6c68 Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/diff/657c6c68 Branch: refs/heads/master Commit: 657c6c68deaea79fdee3d200a476062da68b711f Parents: 42138b4 Author: jianbai.gbj <[email protected]> Authored: Mon Mar 26 11:37:59 2018 +0800 Committer: jianbai.gbj <[email protected]> Committed: Mon Mar 26 11:37:59 2018 +0800 ---------------------------------------------------------------------- source/cn/references/components/waterfall.md | 4 +++- source/references/components/waterfall.md | 10 ++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/657c6c68/source/cn/references/components/waterfall.md ---------------------------------------------------------------------- diff --git a/source/cn/references/components/waterfall.md b/source/cn/references/components/waterfall.md index 643efb5..83dda6e 100644 --- a/source/cn/references/components/waterfall.md +++ b/source/cn/references/components/waterfall.md @@ -28,6 +28,8 @@ version: 2.1 - `auto`: æå³çåæ°æ¯è¢«å ¶ä»å±æ§æå³å®ç(æ¯å¦ column-width) - `<integer>`: æä½³åæ°ï¼column-width å column-count 齿å®é0å¼ï¼ å column-count 代表æå¤§åæ°ã - **column-gap**: åä¸åçé´é. 妿æå®äº `normal` ï¼åå¯¹åº `32`. +- **left-gap**: 左边cellåå表çé´é. å¦ææªæå® ï¼åå¯¹åº `0`<span class="api-version">v0.19+</span>. +- **column-gap**: å³è¾¹cellåå表çé´é. å¦ææªæå®ï¼åå¯¹åº `0`<span class="api-version">v0.19+</span>. å ¶ä»æ¯æç屿§åè§ [List Component Attributes](./list.html) @@ -62,4 +64,4 @@ version: 2.1 ### ç¤ºä¾ -åè§ [playground waterfall example](http://dotwe.org/vue/7a9195643e9e8da352b0d879cdbe68c0) +[waterfall example](http://dotwe.org/vue/7a9195643e9e8da352b0d879cdbe68c0) http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/657c6c68/source/references/components/waterfall.md ---------------------------------------------------------------------- diff --git a/source/references/components/waterfall.md b/source/references/components/waterfall.md index dea3742..9ce8942 100644 --- a/source/references/components/waterfall.md +++ b/source/references/components/waterfall.md @@ -10,11 +10,11 @@ version: 2.1 <span class="weex-version">v0.11.0+</span> -A component providing waterfall layout. +A component providing waterfall layout over list component. ### 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 only 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. @@ -28,8 +28,10 @@ Notes: The waterfall now supports the following child components: cell, header, * `auto`: means that the number of columns will be determined by other properties (e.g., column-width, if it has a non-auto value). * `<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`. +* **left-gap**:sets the gap between left edge and left cell. if `none` is specified, the gap will be `0`<span class="api-version">v0.19+</span>. +* **right-gap**:sets the gap between right edge and right most cell. if `none` is specified, the gap will be `0`<span class="api-version">v0.19+</span>. -To see other attributes, please checkout [List Component Attributes](./list.html) +To see other attributes in list, please checkout [List Component Attributes](./list.html) ### Styles @@ -53,4 +55,4 @@ All subcomponents in waterfall support the scrollToElement API in [dom module](. ### Example -see [playground waterfall example](http://dotwe.org/vue/7a9195643e9e8da352b0d879cdbe68c0) +[waterfall example](http://dotwe.org/vue/7a9195643e9e8da352b0d879cdbe68c0)
