Closed childonline closed 1 month ago
What the title says, I can't figure for the life of me how to listen to event using the Vue composable. The docs weren't much help either.
Nothing seems to trigger with this approach:
const [dragAndDropRef, campaigns] = useDragAndDrop<Campaign>([], { onSort: () => { console.log('onSort') }, onTransfer: () => { console.log('onTransfer') }, onDragstart: () => { console.log('onDragstart') }, onDragend: () => { console.log('onDragend') }, })```
@childonline Issue about this here: https://github.com/formkit/drag-and-drop/issues/46
@childonline Issue about this here: #46
thanks for the quick answer! got it working finally
What the title says, I can't figure for the life of me how to listen to event using the Vue composable. The docs weren't much help either.
Nothing seems to trigger with this approach: