I am currently trying to implement ember-drag-sort into my Ember.js app.
Is there a way to determine in the dragEnd action which list the targetList is actually referring to? (e.g. a class name)
In my scenario, I am sorting ember data records that can belong to each other (i.e. nested structure). When I drag one record "into" another (the target list), I need to set the dragged record's parent as the record the target list represents.
Is this possible?
Aucun commentaire:
Enregistrer un commentaire