akserg / ng2-dnd

Angular 2 Drag-and-Drop without dependencies
MIT License
838 stars 251 forks source link

Simple Sortable With No Sortable Data #192

Open JosephSKh opened 7 years ago

JosephSKh commented 7 years ago

@Component({ selector: 'simple-dnd', template: `

Simple Drag-and-Drop operations with no code

  • Item 1
  • Item 2
  • Item 3
  • Item 4
  • Item 5
` }) export class SimpleDndComponent { simpleDrop: any = null; } ``` * **What is the expected behavior?** To be able to sort the list with no array * **What is the motivation / use case for changing the behavior?** I have some different DIVs that I want to to change their order by dragging * **Please tell us about your environment:** - Angular version: 2.X.X - Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ] * **Other information** (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
schitzN commented 7 years ago

+1

same problem here. need support for dynamic components / non-list sortables!