You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
1.0 KiB
26 lines
1.0 KiB
import { DragDropManager, Unsubscribe, Listener, Identifier } from 'dnd-core';
|
|
import { DropTargetMonitor } from '../interfaces';
|
|
export declare class DropTargetMonitorImpl implements DropTargetMonitor {
|
|
private internalMonitor;
|
|
private targetId;
|
|
constructor(manager: DragDropManager);
|
|
receiveHandlerId(targetId: Identifier | null): void;
|
|
getHandlerId(): Identifier | null;
|
|
subscribeToStateChange(listener: Listener, options?: {
|
|
handlerIds: Identifier[] | undefined;
|
|
}): Unsubscribe;
|
|
canDrop(): boolean;
|
|
isOver(options: {
|
|
shallow?: boolean;
|
|
}): boolean;
|
|
getItemType(): string | symbol | null;
|
|
getItem(): any;
|
|
getDropResult(): any;
|
|
didDrop(): boolean;
|
|
getInitialClientOffset(): import("dnd-core").XYCoord | null;
|
|
getInitialSourceClientOffset(): import("dnd-core").XYCoord | null;
|
|
getSourceClientOffset(): import("dnd-core").XYCoord | null;
|
|
getClientOffset(): import("dnd-core").XYCoord | null;
|
|
getDifferenceFromInitialOffset(): import("dnd-core").XYCoord | null;
|
|
}
|