Click or drag to resize

EmulationClientSetEmitTouchEventsForMouseAsync Method

Version 86.0.240
SetEmitTouchEventsForMouse

Namespace:  CefSharp.DevTools.Emulation
Assembly:  CefSharp (in CefSharp.dll) Version: 86.0.240.0 (86.0.240.0)
Syntax
public Task<DevToolsMethodResponse> SetEmitTouchEventsForMouseAsync(
	bool enabled,
	string configuration = null
)

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: TaskDevToolsMethodResponse
returns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also