提交 5654a891 编写于 作者: E ester.zhou

Update doc (13851)

Signed-off-by: Nester.zhou <ester.zhou@huawei.com>
上级 8bc22295
...@@ -21,7 +21,7 @@ ScrollBar(value: { scroller: Scroller, direction?: ScrollBarDirection, state?: B ...@@ -21,7 +21,7 @@ ScrollBar(value: { scroller: Scroller, direction?: ScrollBarDirection, state?: B
| Name| Type| Mandatory| Description| | Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- | | -------- | -------- | -------- | -------- |
| scroller | [Scroller](ts-container-scroll.md#scroller) | Yes| Scroller, which can be bound to scrollable components.| | scroller | [Scroller](ts-container-scroll.md#scroller) | Yes| Scroller, which can be bound to scrollable components.|
| direction | ScrollBarDirection | No| Scrollbar direction in which scrollable components scroll.<br>Default value: **ScrollBarDirection.Vertical**| | direction | [ScrollBarDirection](#scrollbardirection) | No| Scrollbar direction in which scrollable components scroll.<br>Default value: **ScrollBarDirection.Vertical**|
| state | [BarState](ts-appendix-enums.md#barstate) | No| Scrollbar state.<br>Default value: **BarState.Auto**| | state | [BarState](ts-appendix-enums.md#barstate) | No| Scrollbar state.<br>Default value: **BarState.Auto**|
> **NOTE** > **NOTE**
...@@ -65,7 +65,7 @@ struct ScrollBarExample { ...@@ -65,7 +65,7 @@ struct ScrollBarExample {
.margin({ top: 5 }) .margin({ top: 5 })
} }
}, item => item) }, item => item)
}.margin({ left: 52 }) }.margin({ right: 52 })
} }
.scrollBar(BarState.Off) .scrollBar(BarState.Off)
.scrollable(ScrollDirection.Vertical) .scrollable(ScrollDirection.Vertical)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册