Interface ITouchscreen
- Namespace
- PuppeteerSharp.Input
- Assembly
- PuppeteerSharp.dll
Provides methods to interact with the touch screen.
public interface ITouchscreen
Methods
TapAsync(decimal, decimal)
Dispatches a touchstart and touchend event.
Task TapAsync(decimal x, decimal y)
Parameters
Returns
- Task
Task.
- See Also
TouchEndAsync()
Dispatches a touchend event on the first touch that is active.
Task TouchEndAsync()
Returns
- Task
A Task that resolves when the message was confirmed by the browser.
TouchMoveAsync(decimal, decimal)
Dispatches a touchmove event on the first touch that is active.
Task TouchMoveAsync(decimal x, decimal y)
Parameters
Returns
- Task
A Task that resolves when the message was confirmed by the browser.
TouchStartAsync(decimal, decimal)
Dispatches a touchstart event.
Task<ITouchHandle> TouchStartAsync(decimal x, decimal y)
Parameters
Returns
- Task<ITouchHandle>
A Task that resolves with a handle for the touch that was started.