Last updated

API / geotoolkit / controls / tools / DragAndDrop / DragAndDrop

Namespace: DragAndDrop

tools.DragAndDrop.DragAndDrop

Table of contents

Type Aliases

Contents

Type Aliases

ContainerCallback

Ƭ ContainerCallback: (nodes: Node[]) => Node | null

Type declaration

▸ (nodes): Node | null

Parameters
Name Type
nodesNode[]
Returns

Node | null


DragCallback

Ƭ DragCallback: (nodes: Node[]) => Node | Node[] | null

Type declaration

▸ (nodes): Node | Node[] | null

Parameters
Name Type
nodesNode[]
Returns

Node | Node[] | null


EventMap

Ƭ EventMap: EventMap & { onDrag: DragAndDropEventArgs ; onDrop: DragAndDropEventArgs ; onPick: DragAndDropEventArgs }


NodeFilter

Ƭ NodeFilter: Object

Defines node filter for nodes to drag and drop

Type declaration

NameTypeDescription
container?ContainerCallbacknode filter for container
drag?DragCallbacknode filter for nodes to drag and drop. if returns an array - container for render should be specified

Options

Ƭ Options: Options & { dragmode?: DragMode ; inflatex?: number ; inflatey?: number ; nodefilters?: NodeFilter[] }

options