Modifier version with a more streamlined interface
<ol {{sortable-group onChange=this.update a11yAnnouncementConfig=this.myA11yConfig}}>
{{#each model.items as |item|}}
<li {{sortable-item model=item}}>
{{item.name}}
<span class="handle" {{sortable-handle}}>↕</span>
</li>
{{/each}}
</ol>
Modifiers will allow this addon to be used with other addons like ember-table, ember-yeti-table, ember-models-table
Modifiers are not meant for classic syntax, so to use these you would have to use angle-bracket syntax
Addons that would be used to do this:
ember-modifier-manager-polyfill > 2.12 . < 3.8
ember-modifier > 3.4 (Makes creating custom modifiers easier)
Optional
ember-native-class-polyfill (optional) > 3.4 < 3.6
ember-decorators-polyfill (optional) > 2.18 < 3.10
Modifier version with a more streamlined interface
Modifiers will allow this addon to be used with other addons like ember-table, ember-yeti-table, ember-models-table
Modifiers are not meant for classic syntax, so to use these you would have to use angle-bracket syntax
Addons that would be used to do this:
ember-modifier-manager-polyfill > 2.12 . < 3.8
ember-modifier > 3.4 (Makes creating custom modifiers easier)
Optional
ember-native-class-polyfill (optional) > 3.4 < 3.6
ember-decorators-polyfill (optional) > 2.18 < 3.10