DOMClientMoveToAsync Method |
Version 96.0.142
Moves node into the new container, places it before the given anchor.
Namespace:
CefSharp.DevTools.DOM
Assembly:
CefSharp (in CefSharp.dll) Version: 96.0.142.0 (96.0.142.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
- Type: SystemInt32
Id of the node to move. - targetNodeId
- Type: SystemInt32
Id of the element to drop the moved node into. - insertBeforeNodeId (Optional)
- Type: SystemNullableInt32
Drop node before this one (if absent, the moved node becomes the last child of`targetNodeId`).
Return Value
Type:
TaskMoveToResponsereturns System.Threading.Tasks.Task<MoveToResponse>
See Also