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.DOMAssembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax public Task<GetAnchorElementResponse> GetAnchorElementAsync(
int nodeId,
string anchorSpecifier = null
)
public:
Task<GetAnchorElementResponse^>^ GetAnchorElementAsync(
int nodeId,
String^ anchorSpecifier = nullptr
)
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
TaskGetAnchorElementResponsereturns System.Threading.Tasks.Task<GetAnchorElementResponse>
See Also