Click or drag to resize

DOMClientGetAnchorElementAsync Method

Version 130.1.90
Returns the target anchor element of the given anchor query according to https://www.w3.org/TR/css-anchor-position-1/#target.

Namespace: CefSharp.DevTools.DOM
Assembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax
public Task<GetAnchorElementResponse> GetAnchorElementAsync(
	int nodeId,
	string anchorSpecifier = null
)

Parameters

nodeId  Int32
Id of the positioned element from which to find the anchor.
anchorSpecifier  String  (Optional)
An optional anchor specifier, as defined inhttps://www.w3.org/TR/css-anchor-position-1/#anchor-specifier.If not provided, it will return the implicit anchor element forthe given positioned element.

Return Value

TaskGetAnchorElementResponse
returns System.Threading.Tasks.Task<GetAnchorElementResponse>
See Also