Click or drag to resize

CSSClientGetLayersForNodeAsync Method

Version 103.0.120
Returns all layers parsed by the rendering engine for the tree scope of a node. Given a DOM element identified by nodeId, getLayersForNode returns the root layer for the nearest ancestor document or shadow root. The layer root contains the full layer tree for the tree scope and their ordering.

Namespace:  CefSharp.DevTools.CSS
Assembly:  CefSharp (in CefSharp.dll) Version: 103.0.120.0 (103.0.120.0)
Syntax
public Task<GetLayersForNodeResponse> GetLayersForNodeAsync(
	int nodeId
)

Parameters

nodeId
Type: SystemInt32
nodeId

Return Value

Type: TaskGetLayersForNodeResponse
returns System.Threading.Tasks.Task<GetLayersForNodeResponse>
See Also