DOMClientMoveToAsync Method |
Version 130.1.90
Moves node into the new container, places it before the given anchor.
Namespace: CefSharp.DevTools.DOMAssembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax public Task<MoveToResponse> MoveToAsync(
int nodeId,
int targetNodeId,
int? insertBeforeNodeId = null
)
public:
Task<MoveToResponse^>^ MoveToAsync(
int nodeId,
int targetNodeId,
Nullable<int> insertBeforeNodeId = nullptr
)
Parameters
- nodeId Int32
- Id of the node to move.
- targetNodeId Int32
- Id of the element to drop the moved node into.
- insertBeforeNodeId NullableInt32 (Optional)
- Drop node before this one (if absent, the moved node becomes the last child of`targetNodeId`).
Return Value
TaskMoveToResponsereturns System.Threading.Tasks.Task<MoveToResponse>
See Also