vue-fluid-dnd icon indicating copy to clipboard operation
vue-fluid-dnd copied to clipboard

isDraggable example adjustment

Open synctivate-david opened this issue 1 year ago • 0 comments

"vue": "^3.5.10",
"vue-fluid-dnd": "^0.7.0"

Copied and pasted example, the list should be ref and the config should just be in the declaration:

const list = ref([1, 2, 3, 4]); const { parent } = useDragAndDrop(list, { isDraggable: (el) => !el.classList.contains("is-not-draggable") });

synctivate-david avatar Oct 11 '24 18:10 synctivate-david