UNPKG

@foblex/drag-toolkit

Version:

A TypeScript library providing foundational classes and utilities for implementing drag-and-drop functionality in Angular applications, with support for both mouse and touch events, and designed to work with or without Angular’s NgZone (zoneless applicati

13 lines (12 loc) 367 B
import { IPointerEvent } from './i-pointer-event'; export declare class IPointerUpEvent extends IPointerEvent { constructor(event: PointerEvent, target?: HTMLElement); isMouseLeftButton(): boolean; isMouseRightButton(): boolean; getPosition(): { x: number; y: number; }; getPointerType(): string; getPointerId(): number; }