简体   繁体   中英

Angular Material drag drop CDK - drop single element(independent) into a list

Is it possible to move an independent cdkDrag into a cdkDragList container?

extra question: Is it possible to free move cdkDrag(s) inside a cdkDragList container?

basically what I'm trying to do is to have one list(group) that the items inside can be freely moved, but when entering the second list the items will be ordered.

You could do this with a list of one item.

You want Transferring Items Between Lists .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM