You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To use modifiers, you must use angle-bracket syntax
New Root component
Instead of using sortable-group as a component, use sortable-group as a modifier
any element. You no longer need to tell sortable-group about the models, so the each
uses the models directly.
Old Component
{{#sortable-groupmodel=model.itemsonChange=(action"reorderItems") as |group|}}{{#eachgroup.modelas |item|}}
Each item can be represented by any dom element or component using angle-bracket syntax
Old Component
{{#sortable-groupmodel=model.itemsonChange=(action'reorderItems') as |group|}}{{#eachgroup.modelas |item|}}{{#group.itemmodel=item}}{{item.name}}{{/group.item}}{{/each}}{{/sortable-group}}