/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.3/ |
H A D | changelogs-arkui.md | 191 ## cl.arkui.3 List组件和Scroll组件onScrollBegin事件变更 193 List组件和Scroll组件onScrollBegin事件更名为onScrollFrameBegin事件,onScrollBegin事件中dx和dy参数分别表示X轴和Y轴方向滚动偏移量,更变为on… 197 onScrollBegin事件不能再使用,需要使用onScrollFrameBegin事件。 203 | onScrollBegin(event: (dx: number, dy: number) => { dxRemain: number, dyRemain: number }) | onScro… 211 onScrollBegin改成使用onScrollFrameBegin事件,onScrollBegin事件的dx/dy参数改成onScrollFrameBegin事件的offset参数。原本需要更滚… 213 onScrollBegin事件典型使用示例: 252 .onScrollBegin((dx: number, dy: number) => {
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.0.2.3/ |
H A D | changelogs-arkui.md | 194 ## cl.arkui.3 Change of the onScrollBegin Event of the \<List> and \<Scroll> Components 196 The **onScrollBegin** event of the **\<List>** and **\<Scroll>** components is renamed **onScrollFr… 200 The **onScrollBegin** event is deprecated and must be replaced with the **onScrollFrameBegin** even… 206 | onScrollBegin(event: (dx: number, dy: number) => { dxRemain: number, dyRemain: number }) | onScro… 214 …onScrollBegin** to **onScrollFrameBegin**, and use the **offset** parameter in **onScrollFrameBegi… 216 Example of using the **onScrollBegin** event: 255 .onScrollBegin((dx: number, dy: number) => {
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/list/ |
H A D | list_component.h | 171 void SetOnScrollBegin(const ScrollBeginCallback& onScrollBegin) in SetOnScrollBegin() argument 173 onScrollBegin_ = onScrollBegin; in SetOnScrollBegin()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
H A D | list_event_hub.h | 35 void SetOnScrollBegin(OnScrollBeginEvent&& onScrollBegin) in SetOnScrollBegin() argument 37 onScrollBeginEvent_ = std::move(onScrollBegin); in SetOnScrollBegin()
|
H A D | list_model.h | 68 virtual void SetOnScrollBegin(OnScrollBeginEvent&& onScrollBegin) = 0;
|
H A D | list_model_ng.h | 59 void SetOnScrollBegin(OnScrollBeginEvent&& onScrollBegin) override;
|
H A D | list_model_ng.cpp | 285 void ListModelNG::SetOnScrollBegin(OnScrollBeginEvent&& onScrollBegin) in SetOnScrollBegin() argument 291 eventHub->SetOnScrollBegin(std::move(onScrollBegin)); in SetOnScrollBegin()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/scroll/ |
H A D | scroll_component.h | 238 void SetOnScrollBegin(const ScrollBeginCallback& onScrollBegin) in SetOnScrollBegin() argument 240 onScrollBegin_ = onScrollBegin; in SetOnScrollBegin()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | list_model_impl.cpp | 152 void ListModelImpl::SetOnScrollBegin(OnScrollBeginEvent&& onScrollBegin) in SetOnScrollBegin() argument 154 JSViewSetProperty(&V2::ListComponent::SetOnScrollBegin, std::move(onScrollBegin)); in SetOnScrollBegin()
|
H A D | list_model_impl.h | 60 void SetOnScrollBegin(OnScrollBeginEvent&& onScrollBegin) override;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_field_event_hub.h | 268 void SetOnScrollBegin(OnScrollBeginEvent&& onScrollBegin) in SetOnScrollBegin() argument 270 onScrollBeginEvent_ = std::move(onScrollBegin); in SetOnScrollBegin()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_list.cpp | 774 … auto onScrollBegin = [execCtx = args.GetExecutionContext(), func = JSRef<JSFunc>::Cast(args[0])]( in ScrollBeginCallback() local 799 ListModel::GetInstance()->SetOnScrollBegin(std::move(onScrollBegin)); in ScrollBeginCallback() 806 … auto onScrollBegin = [execCtx = args.GetExecutionContext(), func = JSRef<JSFunc>::Cast(args[0])]( in ScrollFrameBeginCallback() local 827 ListModel::GetInstance()->SetOnScrollFrameBegin(std::move(onScrollBegin)); in ScrollFrameBeginCallback()
|
H A D | js_water_flow.cpp | 426 … auto onScrollBegin = [execCtx = args.GetExecutionContext(), func = JSRef<JSFunc>::Cast(args[0])]( in ScrollFrameBeginCallback() local 449 WaterFlowModel::GetInstance()->SetOnScrollFrameBegin(std::move(onScrollBegin)); in ScrollFrameBeginCallback()
|
H A D | js_scroll.cpp | 140 … auto onScrollBegin = [execCtx = args.GetExecutionContext(), func = JSRef<JSFunc>::Cast(args[0])]( in OnScrollBeginCallback() local 165 ScrollModel::GetInstance()->SetOnScrollBegin(std::move(onScrollBegin)); in OnScrollBeginCallback()
|
H A D | js_grid.cpp | 748 … auto onScrollBegin = [execCtx = args.GetExecutionContext(), func = JSRef<JSFunc>::Cast(args[0])]( in JsOnScrollFrameBegin() local 769 GridModel::GetInstance()->SetOnScrollFrameBegin(std::move(onScrollBegin)); in JsOnScrollFrameBegin()
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta2/ |
H A D | js-apidiff-arkui.md | 30 | ArkUI | ScrollAttribute | onScrollBegin(event: (dx: number, dy: number) => { dxRemain: number, dy… 60 | ArkUI | ListAttribute | onScrollBegin(event: (dx: number, dy: number) => { dxRemain: number, dyRe…
|
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta2/ |
H A D | js-apidiff-arkui.md | 30 | ArkUI | ScrollAttribute | onScrollBegin(event: (dx: number, dy: number) => { dxRemain: number, dy… 60 | ArkUI | ListAttribute | onScrollBegin(event: (dx: number, dy: number) => { dxRemain: number, dyRe…
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/Beta5 to v3.2-Release/ |
H A D | js-apidiff-arkui.md | 94 |删除|模块名:list<br>类名:ListAttribute<br>方法 or 属性:onScrollBegin(event: (dx: number, dy: number) => { dxR… 96 |删除|模块名:scroll<br>类名:ScrollAttribute<br>方法 or 属性:onScrollBegin(event: (dx: number, dy: number) => {…
|
/ohos5.0/docs/en/release-notes/api-diff/Beta5-to-v3.2-Release/ |
H A D | js-apidiff-arkui.md | 94 |Deleted|Module name: list<br>Class name: ListAttribute<br>Method or attribute name: onScrollBegin(… 96 …e: scroll<br>Class name: ScrollAttribute<br>Method or attribute name: onScrollBegin(event: (dx: nu…
|