/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/ |
H A D | nestable_scroll_container.cpp | 59 void NestableScrollContainer::SetNestedScroll(const NestedScrollOptions& nestedScroll, bool isFixed… in SetNestedScroll() argument 61 if (isFixedNestedScrollMode_ && !nestedScroll.NeedParent()) { in SetNestedScroll() 65 if (nestedScroll.NeedParent()) { in SetNestedScroll() 73 if (parent && !nestedScroll.NeedParent() && nestedScroll_.NeedParent()) { in SetNestedScroll() 76 nestedScroll_ = nestedScroll; in SetNestedScroll()
|
H A D | scrollable_pattern.cpp | 191 auto nestedScroll = GetNestedScroll(); in ToJsonValue() local 192 …nestedScrollOptions->Put("scrollForward", nestedScroll.GetNestedScrollModeStr(nestedScroll.forward… in ToJsonValue() 193 …nestedScrollOptions->Put("scrollBackward", nestedScroll.GetNestedScrollModeStr(nestedScroll.backwa… in ToJsonValue() 1058 if (nestedScroll) { in ScrollEndCallback() 1074 if (!nestedScroll) { in SetScrollBarProxy() 1085 if (nestedScroll) { in SetScrollBarProxy() 2145 auto nestedScroll = GetNestedScroll(); in HandleOutBoundary() local 2180 switch (nestedScroll) { in HandleSelfOutBoundary() 2213 auto nestedScroll = GetNestedScroll(); in HandleScroll() local 2299 auto nestedScroll = GetNestedScroll(); in HandleScrollableOverScroll() local [all …]
|
H A D | nestable_scroll_container.h | 82 …void SetNestedScroll(const NestedScrollOptions& nestedScroll, bool isFixedNestedScrollMode = false…
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/refresh/ |
H A D | refresh_pattern.cpp | 1151 auto nestedScroll = GetNestedScroll(); in HandleScroll() local 1159 if (parent && nestedScroll.forward == NestedScrollMode::PARENT_FIRST) { in HandleScroll() 1162 } else if (parent && nestedScroll.forward == NestedScrollMode::SELF_FIRST) { in HandleScroll() 1180 if (parent && ((Negative(offset) && nestedScroll.forward == NestedScrollMode::SELF_FIRST) || in HandleScroll() 1200 auto nestedScroll = GetNestedScroll(); in OnScrollStartRecursive() local 1203 if (parent && nestedScroll.NeedParent() && in OnScrollStartRecursive() 1204 …(nestedScroll.forward != NestedScrollMode::PARALLEL || nestedScroll.backward != NestedScrollMode::… in OnScrollStartRecursive() 1212 auto nestedScroll = GetNestedScroll(); in HandleScrollVelocity() local 1214 if (parent && ((Negative(velocity) && nestedScroll.forward == NestedScrollMode::PARENT_FIRST) || in HandleScrollVelocity() 1235 auto nestedScroll = GetNestedScroll(); in OnScrollEndRecursive() local [all …]
|
/ohos5.0/docs/zh-cn/application-dev/web/ |
H A D | web-nested-scrolling.md | 4 …estedscrollmode10)枚举类型,使得Web组件可以嵌套ArkUI可滚动容器,进行嵌套滚动。开发者可以在Web组件创建时,使用[nestedScroll](../reference/a… 6 nestedScroll入参为一个[NestedScrollOptions](../reference/apis-arkui/arkui-ts/ts-container-scrollable-com… 97 .nestedScroll({ 119 .nestedScroll({
|
/ohos5.0/docs/en/application-dev/web/ |
H A D | web-nested-scrolling.md | 4 …framework. You can specify the default nested scrolling mode through [nestedScroll](../reference/a… 6 **nestedScroll** is a [NestedScrollOptions](../reference/apis-arkui/arkui-ts/ts-container-scrollabl… 97 .nestedScroll({ 119 .nestedScroll({
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/splitlayout/source/ |
H A D | splitlayout.ets | 73 .nestedScroll({ 122 .nestedScroll({ 178 .nestedScroll({
|
/ohos5.0/docs/zh-cn/application-dev/ui/ |
H A D | arkts-sheet-page.md | 50 .nestedScroll({ 79 .nestedScroll({
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/ |
H A D | swiper_attr_test_ng.cpp | 866 auto nestedScroll = pattern_->GetNestedScroll(); variable 867 EXPECT_EQ(nestedScroll.forward, NestedScrollMode::SELF_ONLY); 868 EXPECT_EQ(nestedScroll.backward, NestedScrollMode::SELF_ONLY); 891 auto nestedScroll = pattern_->GetNestedScroll(); variable 892 EXPECT_EQ(nestedScroll.forward, NestedScrollMode::SELF_FIRST); 893 EXPECT_EQ(nestedScroll.backward, NestedScrollMode::SELF_FIRST);
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/splitlayout/interfaces/ |
H A D | splitlayout.js | 160 Scroll.nestedScroll({ 244 Scroll.nestedScroll({ 322 Scroll.nestedScroll({
|
/ohos5.0/docs/zh-cn/application-dev/faqs/ |
H A D | faqs-arkui-layout.md | 69 可滚动类组件可以使用nestedScroll属性设置嵌套滚动。
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-container-scrollable-common.md | 76 ### nestedScroll<sup>11+</sup> 78 nestedScroll(value: NestedScrollOptions): T
|
H A D | ts-basic-components-scrollbar.md | 219 .nestedScroll({
|
H A D | ts-container-scroll.md | 150 ### nestedScroll<sup>10+</sup> 152 nestedScroll(value: NestedScrollOptions) 993 该示例使用nestedScroll属性实现了内层List组件和外层Scroll组件的嵌套滚动。 1027 .nestedScroll({
|
H A D | ts-container-grid.md | 437 ### nestedScroll<sup>10+</sup> 439 nestedScroll(value: NestedScrollOptions) 1008 nestedScroll和onScrollFrameBegin的使用。 1110 .nestedScroll({
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | arkts-sheet-page.md | 50 .nestedScroll({ 79 .nestedScroll({
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/src/ |
H A D | ArkWeb.ts | 298 nestedScroll(value: NestedScrollOptions): this {
|
H A D | ArkWaterFlow.ts | 335 nestedScroll(value: NestedScrollOptions): this {
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/ |
H A D | swiper_pattern.cpp | 4928 const auto& nestedScroll = GetNestedScroll(); in NotifyParentScrollStart() local 4929 if (parent && nestedScroll.NeedParent()) { in NotifyParentScrollStart() 4963 const auto& nestedScroll = GetNestedScroll(); in NotifyParentScrollEnd() local 4964 if (parent && (nestedScroll.NeedParent() || GetIsNestedInterrupt())) { in NotifyParentScrollEnd() 5001 const auto nestedScroll = GetNestedScroll(); in HandleScrollVelocity() local 5002 if (parent && nestedScroll.NeedParent(NonPositive(velocity))) { in HandleScrollVelocity() 5047 auto nestedScroll = GetNestedScroll(); in HandleScroll() local 5048 if (!parent || !nestedScroll.NeedParent()) { in HandleScroll() 5057 if (parent && ((Negative(offset) && nestedScroll.forward == NestedScrollMode::PARENT_FIRST) || in HandleScroll() 5873 auto nestedScroll = GetNestedScroll().forward; in ToJsonValue() local [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/ |
H A D | web_pattern.cpp | 5792 if (nestedScroll.scrollUp == nestedScroll.scrollLeft) { in SetNestedScrollExt() 5793 nestedOpt.backward = nestedScroll.scrollUp; in SetNestedScrollExt() 5795 if (nestedScroll.scrollDown == nestedScroll.scrollRight) { in SetNestedScrollExt() 5796 nestedOpt.forward = nestedScroll.scrollDown; in SetNestedScrollExt() 5804 nestedScroll_ = nestedScroll; in SetNestedScrollExt() 5908 auto nestedScroll = GetNestedScrollExt(); in CheckParentScroll() local 5911 (directValue > 0 && nestedScroll.scrollLeft == scrollMode && in CheckParentScroll() 5913 (directValue < 0 && nestedScroll.scrollDown == scrollMode && in CheckParentScroll() 5921 auto nestedScroll = GetNestedScrollExt(); in CheckOverParentScroll() local 5924 (directValue < 0 && nestedScroll.scrollLeft == scrollMode && in CheckOverParentScroll() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/export/ |
H A D | arkComponent.d.ts | 299 nestedScroll(value: NestedScrollOptions): this; 906 nestedScroll(value: NestedScrollOptions): ScrollAttribute; 1530 nestedScroll(value: NestedScrollOptions): this; 1773 nestedScroll(value: NestedScrollOptions): this; 1846 nestedScroll(value: SwiperNestedScrollMode): this; 1896 nestedScroll(value: NestedScrollOptions): this;
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-basic-components-scrollbar.md | 219 .nestedScroll({
|
/ohos5.0/docs/zh-cn/application-dev/performance/ |
H A D | reasonably-dispose-highly-loaded-component-render.md | 104 .nestedScroll({
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.31/ |
H A D | changelogs-arkui.md | 262 .nestedScroll({
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/dialog/source/ |
H A D | dialog.ets | 255 ….nestedScroll({ scrollForward: NestedScrollMode.PARALLEL, scrollBackward: NestedScrollMode.PARALLE… 493 ….nestedScroll({ scrollForward: NestedScrollMode.PARALLEL, scrollBackward: NestedScrollMode.PARALLE… 684 ….nestedScroll({ scrollForward: NestedScrollMode.PARALLEL, scrollBackward: NestedScrollMode.PARALLE… 834 ….nestedScroll({ scrollForward: NestedScrollMode.PARALLEL, scrollBackward: NestedScrollMode.PARALLE…
|