CSSClientGetLayersForNodeAsync Method |
Version 130.1.90
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.CSSAssembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax public Task<GetLayersForNodeResponse> GetLayersForNodeAsync(
int nodeId
)
public:
Task<GetLayersForNodeResponse^>^ GetLayersForNodeAsync(
int nodeId
)
Parameters
- nodeId Int32
- nodeId
Return Value
TaskGetLayersForNodeResponsereturns System.Threading.Tasks.Task<GetLayersForNodeResponse>
See Also