mharris717 / ember-drag-drop

Drag and Drop Addon for Ember CLI
MIT License
204 stars 141 forks source link

Example of sorting in README.md has errors #197

Open jacobq opened 2 years ago

jacobq commented 2 years ago

Currently the README contains a mistake in this example:

<SortableObjects @sortableObjectList={{this.sortableObjectList}} @sortEndAction={{fn this.sortEndAction}} @enableSort={{true}} @useSwap={{true}} @inPlace={{false}} @sortingScope={{"sortingGroup"}}>
  {{#each sortableObjectList as |item|}}
    <DraggableObject
       content=item isSortable=true sortingScope="sortingGroup"
    ><!-- ^^^ these should not be HTML attributes but rather component arguments ^^^ -->
      {{item.name}}
    </DraggableObject>
  {{/each}}
</SortableObjects>