DOMClientMoveToAsync Method |
Version 88.2.90
Moves node into the new container, places it before the given anchor.
Namespace:
CefSharp.DevTools.DOM
Assembly:
CefSharp (in CefSharp.dll) Version: 88.2.90.0 (88.2.90.0)
Syntax public Task<MoveToResponse> MoveToAsync(
int nodeId,
int targetNodeId,
Nullable<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