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