Home > @jsplumbtoolkit/browser-ui > Drag
Drag class
Signature:
export declare class Drag extends Base
Extends: Base
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(el, params, manager) | Constructs a new instance of the Drag class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
_activeSelectorParams | DragParams | ||
_availableSelectors | Array<DragParams> | ||
_canDrag | Function | ||
_class | string | ||
_constrainRect | { w: number; h: number; } | ||
_elementToDrag | jsPlumbDOMElement | ||
_filters | Record<string, [Function, boolean]> | ||
_ghostProxyFunction | GhostProxyGenerator | ||
_ghostProxyParent | jsPlumbDOMElement | ||
_isConstrained | boolean | ||
_size | Size | ||
_useGhostProxy | Function | ||
clone | boolean | ||
cloneSize | Size | ||
consumeStartEvent | boolean | ||
downListener | (e: MouseEvent) => void | ||
listeners | Record<string, Array<Function>> | ||
moveListener | (e: MouseEvent) => void | ||
rightButtonCanDrag | boolean | ||
scroll | boolean | ||
scrollTracker | (e: Event) => void | ||
trackScroll | boolean | ||
upListener | (e?: MouseEvent) => void |