Home
last modified time | relevance | path

Searched refs:createDragAction (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/
H A Djs-apis-arkui-dragController.md277 ## dragController.createDragAction<sup>11+</sup>
279 createDragAction(customArray: Array&lt;CustomBuilder \| DragItemInfo&gt;, dragInfo: DragInfo): Drag…
281 …会抛出异常;当Action对象的生命周期结束后,注册在该对象上的回调函数会失效,因此需要在一个尽量长的作用域下持有该对象,并在每次发起拖拽前通过createDragAction返回新的对象覆盖旧值。
378 …on = dragController.createDragAction(this.customBuilders, dragInfo) // 建议使用 this.getUIContext().ge…
458 …null = dragController.createDragAction(customBuilders, dragInfo); // 建议使用 this.getUIContext().getD…
520 …null = dragController.createDragAction(customBuilders, dragInfo); // 建议使用 this.getUIContext().getD…
582 …null = dragController.createDragAction(customBuilders, dragInfo); // 建议使用 this.getUIContext().getD…
H A Djs-apis-arkui-UIContext.md5935 ### createDragAction<sup>11+</sup>
5937 createDragAction(customArray: Array&lt;CustomBuilder \| DragItemInfo&gt;, dragInfo: dragController.…
5939 …会抛出异常;当Action对象的生命周期结束后,注册在该对象上的回调函数会失效,因此需要在一个尽量长的作用域下持有该对象,并在每次发起拖拽前通过createDragAction返回新的对象覆盖旧值。
6078 … this.dragAction = uiContext.getDragController().createDragAction(this.customBuilders, dragInfo)
/ohos5.0/docs/en/application-dev/reference/apis-arkui/
H A Djs-apis-arkui-dragController.md277 ## dragController.createDragAction<sup>11+</sup>
279 createDragAction(customArray: Array&lt;CustomBuilder \| DragItemInfo&gt;, dragInfo: DragInfo): Drag…
281 …ger scope and replace the old value with a new object returned by **createDragAction** before each…
378 …Controller.createDragAction(this.customBuilders, dragInfo) // You are advised to use this.getUICon…
458 …agController.createDragAction(customBuilders, dragInfo); // You are advised to use this.getUIConte…
518 …agController.createDragAction(customBuilders, dragInfo); // You are advised to use this.getUIConte…
577 …agController.createDragAction(customBuilders, dragInfo); // You are advised to use this.getUIConte…
H A Djs-apis-arkui-UIContext.md6028 ### createDragAction<sup>11+</sup>
6030 createDragAction(customArray: Array&lt;CustomBuilder \| DragItemInfo&gt;, dragInfo: dragController.…
6032 …ger scope and replace the old value with a new object returned by **createDragAction** before each…
6171 … this.dragAction = uiContext.getDragController().createDragAction(this.customBuilders, dragInfo)
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DjsUIContext.js145 createDragAction(customs, dragInfo) { method in DragController
147 let dragAction = this.ohos_dragController.createDragAction(customs, dragInfo);