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

Vertical item ordering #5

Open
Saurus119 opened this issue Oct 25, 2024 · 0 comments
Open

Vertical item ordering #5

Saurus119 opened this issue Oct 25, 2024 · 0 comments

Comments

@Saurus119
Copy link

Hello,

I was trying to experiment with your nugget package and I wasn´t able to set reorder of items just vertically. Is it possible?

  • I tried to check code and I didn´t find binding between your C# code and JS that allows this.

If it is missing, do you think about implementation? If no, do you think it will be hard to implement it?
As i briefly went through code, it needs to be added to the c# options, and link this option with JS through invoke and set direction to "vertical" as official documentation shows.

From official documentation of JS lib.
Direction that the Sortable should sort in. Can be set to 'vertical', 'horizontal', or a function, which will be called whenever a target is dragged over. Must return 'vertical' or 'horizontal'.

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

1 participant