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