Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can this component be dragged by the mouse motor? #2297

Closed
susu-sama opened this issue Jun 28, 2024 · 2 comments
Closed

Can this component be dragged by the mouse motor? #2297

susu-sama opened this issue Jun 28, 2024 · 2 comments
Assignees
Labels
📦 Use case A question regarding implementation

Comments

@susu-sama
Copy link

Can this component be used for mouse, motor, keyboard, other areas, drag and drop? In F12 mobile device simulation, the keyboard can be dragged. How to achieve drag and drop in the browser interface

@hodgef hodgef self-assigned this Jun 28, 2024
@hodgef
Copy link
Owner

hodgef commented Jun 28, 2024

Hello @susu-sama,

This is a functionality that is not available out of the box, but there are libraries out there that can provide this.

You can also add it from scratch using plain JS. Here's an example for a draggable keyboard, you can modify it to fit your needs (Vue Example):
https://stackblitz.com/edit/hodgef-vue-simple-keyboard-wzahwa?file=src%2Fdraggable.js,src%2FSimpleKeyboard.vue,src%2FApp.css,src%2FApp.vue,src%2Fmain.js

Regards,
Francisco Hodge

@hodgef hodgef closed this as completed Jun 28, 2024
@hodgef hodgef added the 📦 Use case A question regarding implementation label Jun 28, 2024
@susu-sama
Copy link
Author

Thank you. After completing the task at hand, I will study it based on the examples you provided. If there are any questions, I will raise them. Thank you very much to the author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 Use case A question regarding implementation
Projects
None yet
Development

No branches or pull requests

2 participants