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