Click or drag to resize

DOMClientMoveToAsync Method

Version 101.0.180
Moves node into the new container, places it before the given anchor.

Namespace:  CefSharp.DevTools.DOM
Assembly:  CefSharp (in CefSharp.dll) Version: 101.0.180.0 (101.0.180.0)
Syntax
public Task<MoveToResponse> MoveToAsync(
	int nodeId,
	int targetNodeId,
	int? insertBeforeNodeId = null
)

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: TaskMoveToResponse
returns System.Threading.Tasks.Task<MoveToResponse>
See Also