Sha256: dab97d96ce986857150db03f0d435b44c060d126b4a387c7807f4e9f6c92e531
Contents?: true
Size: 967 Bytes
Versions: 26
Compression:
Stored size: 967 Bytes
Contents
import { type PointerCoords } from '../event'; import { type Instance } from '../setup'; import { type pointerKey } from '../system/pointer'; type PointerActionInput = string | ({ keys: string; } & PointerActionPosition) | PointerAction; export type PointerInput = PointerActionInput | Array<PointerActionInput>; type PointerAction = PointerPressAction | PointerMoveAction; type PointerActionPosition = { target?: Element; coords?: PointerCoords; node?: Node; /** * If `node` is set, this is the DOM offset. * Otherwise this is the `textContent`/`value` offset on the `target`. */ offset?: number; }; interface PointerPressAction extends PointerActionPosition { keyDef: pointerKey; releasePrevious: boolean; releaseSelf: boolean; } interface PointerMoveAction extends PointerActionPosition { pointerName?: string; } export declare function pointer(this: Instance, input: PointerInput): Promise<void>; export {};
Version data entries
26 entries across 26 versions & 1 rubygems