CSSClientGetLayersForNodeAsync Method |
Version 104.4.240
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: 104.4.240.0 (104.4.240.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