Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface UseDndNodeOptions

Hierarchy

Index

Properties

Optional drag

Optional drop

id

id: string

Id of the node.

nodeRef

nodeRef: any

The reference to the node being dragged.

Optional preview

preview: { disable?: boolean; ref?: any }

Type declaration

  • Optional disable?: boolean

    Whether to disable the preview.

  • Optional ref?: any

    The reference to the preview element.

type

type: Identifier

The type of item being dragged. This is required when using the function form of spec.item. If spec.item is a static object, the type may either be defined on that object as item.type, or it may be defined here.

Generated using TypeDoc