DOMClientFocusAsync Method |
Version 130.1.90
Focuses the given element.
Namespace: CefSharp.DevTools.DOMAssembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax public Task<DevToolsMethodResponse> FocusAsync(
int? nodeId = null,
int? backendNodeId = null,
string objectId = null
)
public:
Task<DevToolsMethodResponse^>^ FocusAsync(
Nullable<int> nodeId = nullptr,
Nullable<int> backendNodeId = nullptr,
String^ objectId = nullptr
)
Parameters
- nodeId NullableInt32 (Optional)
- Identifier of the node.
- backendNodeId NullableInt32 (Optional)
- Identifier of the backend node.
- objectId String (Optional)
- JavaScript object id of the node wrapper.
Return Value
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also