-
-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
At least in vue, I kept trying to pass a config object to dragAndDrop like the docs show at https://drag-and-drop.formkit.com/#draganddrop
// Example parent configuration object:
const config = { sortable: false }
// Vue:
dragAndDrop({
parent: parentRef,
values: valueRef,
config
})
When examining the type, Cursor told me that I should enter the attributes directly:
dragAndDrop({
parent: sortableList,
values: statementsList,
draggable: (el: HTMLElement) => el.id !== "no-drag"
})
Vue, Typescript, etc.
Metadata
Metadata
Assignees
Labels
No labels