ng2-dragula
ng2-dragula copied to clipboard
How to set default option without groupsname ? [dragulaOptions] not working !
- [x] My issue title starts with
[usage question] - [x] I have read the README, especially the 'classic blunders' section
- [x] I have looked at the demos to see if my use case has obvious examples.
- [x] I have searched the
ng2-dragulaissues, including closed issues. - [x] I have browsed the issues labeled "future reference" for problems that have been solved before.
How to set default options revertOnSpill: true all. (Don't know groups name becuase it make by user , dragula=dragulaContent_{{i = index}})

Thank You !
Well, you do know the group's name. You defined it. Define it differently, in a way that is tied to the ID, and initialize the group first.
Well, you do know the group's name. You defined it. Define it differently, in a way that is tied to the ID, and initialize the group first.
How to tied id and initialize the group because i don't know the group name,it maybe have dragContent_1 or dragContent_1 and dragContent_2 or dragContent_1 to dragContent_10
You know the pattern, you just posted it in a GitHub issue. Write some code to add a group to Dragula whenever the user does the action that would cause a new group to appear.