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

Add demo #17

Open
mrquokka opened this issue Jul 29, 2019 · 1 comment
Open

Add demo #17

mrquokka opened this issue Jul 29, 2019 · 1 comment
Assignees

Comments

@mrquokka
Copy link

Can you add demonstation how it works, please?

@WakuwakuP WakuwakuP self-assigned this Aug 2, 2019
@itslit-tech
Copy link

itslit-tech commented Nov 21, 2019

Once you wrap the <el-table> with the <el-table-draggable> component, you can list to the drop event on the component which is emitted once the element is dropped. I had a look at the source code while implementing this. For eg.
<el-table-draggable @drop="yourEventHandler">

The function will receive a single object containing the updated list and the item that was dragged.

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

No branches or pull requests

3 participants