Skip to content

@vttforge/core / DragDropConfig

Interface: DragDropConfig

Declarative DragDrop entry consumed by _onRender. Mirrors the foundry.applications.ux.DragDrop constructor config. Permissions and callbacks fall back to sensible defaults that honour this.isEditable and the default _onDragStart / _onDrop.

Properties

callbacks?

readonly optional callbacks?: Record<string, (...args) => unknown>


dragSelector?

readonly optional dragSelector?: string


dropSelector?

readonly optional dropSelector?: string


permissions?

readonly optional permissions?: object

dragstart?

readonly optional dragstart?: () => boolean

Returns

boolean

drop?

readonly optional drop?: () => boolean

Returns

boolean

MIT licensed.