EmulationClientSetEmitTouchEventsForMouseAsync Method |
Version 87.1.132
SetEmitTouchEventsForMouse
Namespace:
CefSharp.DevTools.Emulation
Assembly:
CefSharp (in CefSharp.dll) Version: 87.1.132.0 (87.1.132.0)
Syntax public Task<DevToolsMethodResponse> SetEmitTouchEventsForMouseAsync(
bool enabled,
string configuration = null
)
public:
Task<DevToolsMethodResponse^>^ SetEmitTouchEventsForMouseAsync(
bool enabled,
String^ configuration = nullptr
)
Parameters
- enabled
- Type: SystemBoolean
Whether touch emulation based on mouse input should be enabled. - configuration (Optional)
- Type: SystemString
Touch/gesture events configuration. Default: current platform.
Return Value
Type:
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also