UNPKG

js-draw

Version:

Draw pictures using a pen, touchscreen, or mouse! JS-draw is a drawing library for JavaScript and TypeScript.

5 lines (4 loc) 236 B
import { Point2 } from '@js-draw/math'; /** Swipes `element` using HTML pointer events. */ declare const sendHtmlSwipe: (element: HTMLElement, start: Point2, end: Point2, timeMs?: number) => Promise<void>; export default sendHtmlSwipe;