Properties

entries

entries?: Array

Set entries in list

template

template?: Array

Template to use for rendering different types

beforeAssignTemplate

beforeAssignTemplate?: __type

Hook to manipulate template before its assigned to the nodes prop

beforeRenderNode

beforeRenderNode?: __type

Hook to manipulate nodes before rendering

drop

drop?: boolean

Toggle drop functionality on/off

dropRoot

dropRoot?: HTMLElement

Which element to use as drop container, defaults to null

dropPadding

dropPadding?: number

Padding around drop area that will also catch drops, defaults to 20

drag

drag?: boolean

Toggle drag functionality on/off

dragDetachMargin

dragDetachMargin?: number

The distance from the root element after which the element will be detached from the list, defaults to 40

dragSafetyMargin

dragSafetyMargin?: number

The distance from the root element after which the element will be removed when dropped, defaults to 80

disabled

disabled?: boolean

Toggle the UI on/off

entryAnimationOriginMap

entryAnimationOriginMap?: __type

Maps Entry origin to animation for intro effect

entryAnimationProps

entryAnimationProps?: __type

Animation configuration for each entry animation

entryAnimationStaggerInterval

entryAnimationStaggerInterval?: number

Delay to use between entry animations that are staggered (insert / remove)

assets

assets?: __type

The assets resource to use for icons, defaults to {}

locale

locale?: __type

The locale resource props to use for text, defaults to {}

propResourceMap

propResourceMap?: __type

Automatically maps a property name to a resource value in locale and/or assets, defaults to { title: 'locale', label: 'locale', icon: 'assets' } meaning that the value of a label property is automatically looked up in the locale property