You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
update: check which vue version to render components * Vue2 will need a wrapper element whereas we can just use the elements as they are for Vue3 (for whatever damn reason i cannot figure out) fa77904
refactor: add draggable in component on mounted hook (possibly avoid issues with slots.default() being called outside of render scope for vue2) update: docs 085a6e6
feat: support multiple slots passed to <Draggable> * render elements without a wrapper when used by component (why else use jsx...) update: Example app 785e25c
update: rollup.config.js split into js and ts files * tsconfig with jsxfactory * package.json with new file names and exports * add some info to package.json chore: added deps for successful build 854d71f
update: named instead of default export in index.ts 052bdd0
update: docs and README.md with info on component again 99efd72
feat: Reimplemented components, though they will not be without a wrapper so we can support Vue2 * Composable or directive usage is preferred * Composables heavily updated with better unMounting and no callbacks (instead use event hooks) 1413913
update: docs * removed info on component * renamed dragggableprops to draggableoptions to avoid naming confusion as they're not props anymore e44a8ae
feat(breaking!): Composable hooks introduced * Components removed in favor of directive usage * Revue Draggable gains compatibility for Vue2 by not using components which result in warnings (createVNode doesn't exist in Vue2) and instead relying on directives and composable hooks update: Examples use directive instead of wrapper-component * Move wrapper-components to examples to showcase how they could possibly be used by users themselves * Remove section about components from README.md 3dc69ab
refactor: check if vnode instance or native el has to be used to emit events upwards from element 97b8cec
feat!: implement event hooks for onDragStart, onDrag and onDragStop * UseDraggable and UseDraggableCore return types completely changed to return these event hooks instead of event listeners that one could attach themselves * Eventlisteners are attached by the composables directly to the element (transformations as well) chore: add vueuse to deps 8a402ff