vddl
vddl copied to clipboard
Support horizontal and vertical simultaneously
Is it possible to support horizontal and vertical drag'n'drop simultaneously? I want to drag containers from the "vertical" list inside the "horizontal" list. Can you provide an example?
I want to do the same as shown on the similar angular dnd list here: http://marceljuenemann.github.io/angular-drag-and-drop-lists/demo/#/nested
Weekends, I try it.
@pSchaub Hi.
I tried it, just change the style of the item inside the Container
. Set float: left
, and set the width to 50%
, and don't forget to change the style of the placeholder in the container.
.container .item, .container .vddl-placeholder {
float: left;
width: 50%;
}
@hejianxian Can you add this to the official (example) documentation?