mesqueeb / quasar-app-extension-draggable

A Quasar extension that makes elements draggable and movable with keyboard.
MIT License
48 stars 5 forks source link

Components naming #3

Closed lucasfernog closed 5 years ago

lucasfernog commented 5 years ago

Will this extension work only for horizontal dragging? If not, I think the component names should be QDraggableContainer and QDraggableItem, something like that... "row" implies some behavior that may not be true.

mesqueeb commented 5 years ago

Hi! Currently i made rows for horizontal dragging. I’m thinking of adding free directional dragging later but will have to probably rewrite everything for that. So I’ll keep the rows to just horizontal and add free drag through an “item” component later.

Sent with GitHawk

mesqueeb commented 5 years ago

@lucasfernog If you're in a rush to implement this in your app, look at vue-nestable. I never tried but it looks almost the same as my component, but you can also drag across different lists.

This is exactly something I want to implement once for "trello" or "kanban" like apps. (if you know what I mean)

But it will probably take more time. 😄

Also feel free to contribute to the code via PR's! I can help you understand the current codebase if you're willing to help!!! 🐯

lucasfernog commented 5 years ago

No problem, thanks for this awesome extension

lucasfernog commented 5 years ago

If I find some time I will check the codebase. However, I have some stuff to do in Quasar core.