Options
All
  • Public
  • Public/Protected
  • All
Menu

Contains the information about drag+drop of one tree instance, contains common functionality used for drag+drop.

Hierarchy

Index

Constructors

constructor

Properties

Private minimalDistance

minimalDistance: number = 10

Private timeout

timeout: any = {}

Protected tree

tree: SvgTree

Methods

addNodeDdClass

  • addNodeDdClass(nodeDd: HTMLElement, className: string): void

Private applyNodeClassNames

  • applyNodeClassNames(target: HTMLElement | SVGElement, prefix: string, className: string): void

changeNodeClasses

  • changeNodeClasses(event: any): void

connectDragHandler

  • connectDragHandler(dragHandler: DragDropHandler): DragBehavior<Element, unknown, unknown>

createDraggable

  • createDraggable(icon: string, name: string): void

isDragNodeDistanceMore

  • isDragNodeDistanceMore(event: D3DragEvent<any, any, any>, dragHandler: DragDropHandler): boolean

openNodeTimeout

  • openNodeTimeout(): void

removeNodeDdClass

  • removeNodeDdClass(): void

updateDraggablePosition

  • updateDraggablePosition(evt: D3DragEvent<any, any, any>): void

Static setDragEnd

  • setDragEnd(): void

Static setDragStart

  • setDragStart(): void

Generated using TypeDoc