Home
last modified time | relevance | path

Searched refs:onScrollFrameBegin (Results 1 – 25 of 44) sorted by relevance

12

/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.3/
H A Dchangelogs-arkui.md193 …ScrollBegin事件更名为onScrollFrameBegin事件,onScrollBegin事件中dx和dy参数分别表示X轴和Y轴方向滚动偏移量,更变为onScrollFrameBegin
197 onScrollBegin事件不能再使用,需要使用onScrollFrameBegin事件。
203 …: number, dy: number) => { dxRemain: number, dyRemain: number }) | onScrollFrameBegin(event: (offs…
205 onScrollFrameBegin事件说明参考API接口文档:
211 …ScrollBegin改成使用onScrollFrameBegin事件,onScrollBegin事件的dx/dy参数改成onScrollFrameBegin事件的offset参数。原本需要更滚动…
271 改成onScrollFrameBegin事件参考代码如下:
310 .onScrollFrameBegin((offset: number, state: ScrollState) => {
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.0.2.3/
H A Dchangelogs-arkui.md196onScrollFrameBegin**. In the **onScrollBegin** event, the amount to scroll by is indicated by the …
200 The **onScrollBegin** event is deprecated and must be replaced with the **onScrollFrameBegin** even…
206 …: number, dy: number) => { dxRemain: number, dyRemain: number }) | onScrollFrameBegin(event: (offs…
208 For details about the **onScrollFrameBegin** event, see the following:
214 …he event from **onScrollBegin** to **onScrollFrameBegin**, and use the **offset** parameter in **o…
274 Example of using the **onScrollFrameBegin** event:
313 .onScrollFrameBegin((offset: number, state: ScrollState) => {
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/
H A Dscrollable_event_hub.h59 void SetOnScrollFrameBegin(OnScrollFrameBeginEvent&& onScrollFrameBegin) in SetOnScrollFrameBegin() argument
61 onScrollFrameBeginEvent_ = std::move(onScrollFrameBegin); in SetOnScrollFrameBegin()
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.2/
H A Dchangelogs-arkui.md36 2、API version 9及以下使用到这个枚举值的接口有List组件的onScroll事件、onScrollFrameBegin事件、Scroll组件的onScrollFrameBegin事件,…
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/scrollable/
H A Dscrollable_event_test.cpp368 auto onScrollFrameBegin = [&isOnScrollFrameBeginCalled](Dimension, ScrollState) { in __anoned346d080702() variable
377 ScrollableModelNG::SetOnScrollFrameBegin(std::move(onScrollFrameBegin));
392 ScrollableModelNG::SetOnScrollFrameBegin(AceType::RawPtr(node_), std::move(onScrollFrameBegin));
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-container-scroll.md246 ### onScrollFrameBegin<sup>9+</sup>
248 onScrollFrameBegin(event: (offset: number, state: ScrollState) => { offsetRemain: number; })
254 若通过onScrollFrameBegin事件和scrollBy方法实现容器嵌套滚动,需设置子滚动节点的EdgeEffect为None。如Scroll嵌套List滚动时,List组件的edgeEff…
436 > 若通过onScrollFrameBegin事件和scrollBy方法实现容器嵌套滚动,需设置子滚动节点的EdgeEffect为None。如Scroll嵌套List滚动时,List组件的edge…
918 该示例使用onScrollFrameBegin事件实现了内层List组件和外层Scroll组件的嵌套滚动。
967 .onScrollFrameBegin((offset: number) => {
1057 该示例使用enableScrollInteraction属性和onScrollFrameBegin事件实现了父组件向子组件传递滚动。
1117 .onScrollFrameBegin((offset: number, state: ScrollState) => {
H A Dts-basic-components-scrollbar.md55 > 设置嵌套滚动模式为PARALLEL时,父子组件同时滚动,需要开发者在onScrollFrameBegin中按照所需逻辑,自行设置父子组件滚动顺序。
H A Dts-container-grid.md682 ### onScrollFrameBegin<sup>10+</sup>
684 onScrollFrameBegin(event: (offset: number, state: ScrollState) => { offsetRemain: number })
1008 nestedScroll和onScrollFrameBegin的使用。
1132 .onScrollFrameBegin((offset: number, state: ScrollState) => {
H A Dts-container-waterflow.md451 ### onScrollFrameBegin<sup>10+</sup>
453 onScrollFrameBegin(event: (offset: number, state: ScrollState) => { offsetRemain: number; })
720 .onScrollFrameBegin((offset: number, state: ScrollState) => {
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_model_ng.h60 void SetOnScrollFrameBegin(OnScrollFrameBeginEvent&& onScrollFrameBegin) override;
122 …tic void SetOnScrollFrameBegin(FrameNode* frameNode, OnScrollFrameBeginEvent&& onScrollFrameBegin);
H A Dlist_model.h69 virtual void SetOnScrollFrameBegin(OnScrollFrameBeginEvent&& onScrollFrameBegin) = 0;
H A Dlist_model_ng.cpp294 void ListModelNG::SetOnScrollFrameBegin(OnScrollFrameBeginEvent&& onScrollFrameBegin) in SetOnScrollFrameBegin() argument
300 eventHub->SetOnScrollFrameBegin(std::move(onScrollFrameBegin)); in SetOnScrollFrameBegin()
748 …tModelNG::SetOnScrollFrameBegin(FrameNode* frameNode, OnScrollFrameBeginEvent&& onScrollFrameBegin) in SetOnScrollFrameBegin() argument
753 eventHub->SetOnScrollFrameBegin(std::move(onScrollFrameBegin)); in SetOnScrollFrameBegin()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_field_event_hub.h278 void SetOnScrollFrameBegin(OnScrollFrameBeginEvent&& onScrollFrameBegin) in SetOnScrollFrameBegin() argument
280 onScrollFrameBeginEvent_ = std::move(onScrollFrameBegin); in SetOnScrollFrameBegin()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dlist_model_impl.h61 void SetOnScrollFrameBegin(OnScrollFrameBeginEvent&& onScrollFrameBegin) override;
H A Dgrid_model_impl.h65 std::function<ScrollFrameResult(Dimension, ScrollState)>&& onScrollFrameBegin) override {}; in SetOnScrollFrameBegin() argument
H A Dlist_model_impl.cpp157 void ListModelImpl::SetOnScrollFrameBegin(OnScrollFrameBeginEvent&& onScrollFrameBegin) in SetOnScrollFrameBegin() argument
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/
H A Dgrid_model.h79 std::function<ScrollFrameResult(Dimension, ScrollState)>&& onScrollFrameBegin) = 0;
H A Dgrid_model_ng.h67 void SetOnScrollFrameBegin(OnScrollFrameBeginEvent&& onScrollFrameBegin) override;
H A Dgrid_model_ng.cpp320 void GridModelNG::SetOnScrollFrameBegin(OnScrollFrameBeginEvent&& onScrollFrameBegin) in SetOnScrollFrameBegin() argument
326 eventHub->SetOnScrollFrameBegin(std::move(onScrollFrameBegin)); in SetOnScrollFrameBegin()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_scroll_modifier.cpp698 …auto onScrollFrameBegin = [nodeId, node, extraParam](const Dimension& offset, const ScrollState& s… in SetOnScrollFrameBegin() local
711 ScrollModelNG::SetOnScrollFrameBegin(frameNode, std::move(onScrollFrameBegin)); in SetOnScrollFrameBegin()
1033 auto onScrollFrameBegin = reinterpret_cast<OnScrollFrameBeginEvent*>(callback); in SetOnScrollFrameBeginCallBack() local
1034 ScrollModelNG::SetOnScrollFrameBegin(frameNode, std::move(*onScrollFrameBegin)); in SetOnScrollFrameBeginCallBack()
H A Dnode_list_modifier.cpp772 auto onScrollFrameBegin = [nodeId, node, extraParam]( in SetOnListScrollFrameBegin() local
785 ListModelNG::SetOnScrollFrameBegin(frameNode, std::move(onScrollFrameBegin)); in SetOnListScrollFrameBegin()
1009 auto onScrollFrameBegin = reinterpret_cast<OnScrollFrameBeginEvent*>(extraParam); in SetOnListScrollFrameBeginCallBack() local
1010 ListModelNG::SetOnScrollFrameBegin(frameNode, std::move(*onScrollFrameBegin)); in SetOnListScrollFrameBeginCallBack()
/ohos5.0/docs/zh-cn/application-dev/faqs/
H A Dfaqs-arkui-animation-interactive-event.md21 可以通过onScrollFrameBegin事件和scrollBy方法实现容器嵌套滚动。
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_scroll.cpp173 …auto onScrollFrameBegin = [execCtx = args.GetExecutionContext(), func = JSRef<JSFunc>::Cast(args[0… in OnScrollFrameBeginCallback() local
194 ScrollModel::GetInstance()->SetOnScrollFrameBegin(std::move(onScrollFrameBegin)); in OnScrollFrameBeginCallback()
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-container-scroll.md242 ### onScrollFrameBegin<sup>9+</sup>
244 onScrollFrameBegin(event: (offset: number, state: ScrollState) => { offsetRemain: number; })
250 If the **onScrollFrameBegin** event and **scrollBy** method are used to implement nested scrolling,…
432 > If the **onScrollFrameBegin** event and **scrollBy** method are used to implement nested scrolli…
915 This example uses the **onScrollFrameBegin** event to achieve nested scrolling between an inner **L…
964 .onScrollFrameBegin((offset: number) => {
1054 …ild component using the **enableScrollInteraction** attribute and the **onScrollFrameBegin** event.
1114 .onScrollFrameBegin((offset: number, state: ScrollState) => {
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/src/
H A DArkWaterFlow.ts368onScrollFrameBegin(event: (offset: number, state: ScrollState) => { offsetRemain: number; }): this…

12