Click or drag to resize

CSSClientGetLayersForNodeAsync Method

Version 112.3.0
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.Core (in CefSharp.Core.dll) Version: 112.3.0.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