Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.Emulation.SetEmitTouchEventsForMouseRequest
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { SetEmitTouchEventsForMouseRequest } = Protocol.Emulation;

Properties

enabled: boolean

Whether touch emulation based on mouse input should be enabled.

optional
configuration: "mobile" | "desktop"

Touch/gesture events configuration. Default: current platform. (SetEmitTouchEventsForMouseRequestConfiguration enum)