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

feat: draggable list & useTableDrag hook #38

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

Ray-D-Song
Copy link
Contributor

@Ray-D-Song Ray-D-Song commented Sep 24, 2024

In my project, users need to drag and drop tables. I think this is a common functionality, so I submitted this PR. Please ignore if not needed.

Basically, it just adds a useTableDrag hook.

Introduced a new external library vue-draggable-plus, and added the drag-handle class in index.css.


在我的项目里,用户需要对表格进行拖拽操作,我觉得这是一个通用的功能点,所以提交了这个 pr,如果不需要的话请忽视。

基本上就是增加了一个useTableDrag hook。

引入了新的外部库vue-draggable-plus,同时在 index.css中增加了drag-handle class

Copy link

netlify bot commented Sep 24, 2024

Deploy Preview for nova-admin-site ready!

Name Link
🔨 Latest commit 87129c8
🔍 Latest deploy log https://app.netlify.com/sites/nova-admin-site/deploys/66f22da511b38800085731e4
😎 Deploy Preview https://deploy-preview-38--nova-admin-site.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@chansee97 chansee97 merged commit aee3e52 into chansee97:main Sep 24, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants