CSSClientGetLayersForNodeAsync Method |
Version 106.0.290
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: 106.0.290.0 (106.0.290.0)
Syntax public Task<GetLayersForNodeResponse> GetLayersForNodeAsync(
int nodeId
)
public:
Task<GetLayersForNodeResponse^>^ GetLayersForNodeAsync(
int nodeId
)
Parameters
- nodeId
- Type: SystemInt32
nodeId
Return Value
Type:
TaskGetLayersForNodeResponsereturns System.Threading.Tasks.Task<GetLayersForNodeResponse>
See Also