Sha256: 62544a8f36f9d97a0265151e201e8a2e83efbba9b692b16d668581d43dec0114
Contents?: true
Size: 607 Bytes
Versions: 3
Compression:
Stored size: 607 Bytes
Contents
export type DraggableRecord = Record<string, unknown>; export interface Draggable { record: DraggableRecord, ref: React.MutableRefObject<HTMLDivElement>, rect: DOMRect | null, handle: string } export interface DragCollectionAction { type: string, payload?: Draggable[] | Draggable | null } export interface DragCollection { ref: React.MutableRefObject<HTMLDivElement>, draggables: Draggable[], dispatch: (DragCollectionAction) => void } export interface Position { x: number | null, y: number | null } export interface DragState extends Position { dragging: Draggable | false }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
pages_core-3.12.4 | app/javascript/components/drag/types.ts |
pages_core-3.12.3 | app/javascript/components/drag/types.ts |
pages_core-3.12.2 | app/javascript/components/drag/types.ts |