Giter Site home page Giter Site logo

Comments (3)

cormacrelf avatar cormacrelf commented on May 28, 2024

Trick is you can’t actually have more than one skyhook drag source dragged at once, so you have to simulate it by having a complex drag preview that looks like it has picked up multiple items. If you feed the preview a list of items that were ticked just prior to dragging the last item, it could render a stack, a number (7 items) or even a bunch of little previews scaled from their original positions. You just need to write the tick selection mechanism. (Shift clicking events caught with mousetrap.js would also work and be easier to cancel.)

from angular-skyhook.

tk2232 avatar tk2232 commented on May 28, 2024

I tried a few solutions, but none that worked properly. Multisort is not the problem. I have difficulties with the preview and I have no idea how to connect this list with another list. Is there no dragTarget in angular-skyhook/sortable?

https://stackblitz.com/edit/angular-skyhook-select-drag-preview?embed=1&file=src/app/simple/simple.component.ts

from angular-skyhook.

olexme avatar olexme commented on May 28, 2024

Here is example of working preview for multi selection. It was done for agGrid but idea should be similar.

from angular-skyhook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.