From e5ad6f9fa22d99d0a298a4da98fe928c088242b2 Mon Sep 17 00:00:00 2001 From: "ester.zhou" Date: Fri, 28 Apr 2023 14:04:05 +0800 Subject: [PATCH] Update doc (17540) Signed-off-by: ester.zhou --- .../reference/arkui-ts/ts-container-waterflow.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/en/application-dev/reference/arkui-ts/ts-container-waterflow.md b/en/application-dev/reference/arkui-ts/ts-container-waterflow.md index 68298be49f..39c86b3cee 100644 --- a/en/application-dev/reference/arkui-ts/ts-container-waterflow.md +++ b/en/application-dev/reference/arkui-ts/ts-container-waterflow.md @@ -14,6 +14,9 @@ The **\** component is a container that consists of cells formed by r The [\](ts-container-flowitem.md) child component is supported. +> **NOTE** +> +> When the **visibility** attribute of a child component in **\** is set to **None**, the child component is not displayed, but still takes up cells. ## APIs @@ -250,7 +253,7 @@ struct WaterflowDemo { build() { Column({ space: 2 }) { - WaterFlow({ footer: this.itemFoot, scroller: this.scroller }) { + WaterFlow({ footer: this.itemFoot.bind(this), scroller: this.scroller }) { LazyForEach(this.datasource, (item: number) => { FlowItem() { Column() { -- GitLab