-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathdrag-sort-list.hbs
23 lines (21 loc) · 957 Bytes
/
drag-sort-list.hbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{{#each this.items as |item index|}}
<DragSortItem
@additionalArgs = {{this.additionalArgs}}
@item = {{item}}
@index = {{index}}
@items = {{this.items}}
@group = {{this.group}}
@handle = {{this.handle}}
@tagName = {{this.childTagName}}
@isHorizontal = {{this.isHorizontal}}
@isRtl = {{this.isRtl}}
@draggingEnabled = {{this.draggingEnabled}}
@sourceOnly = {{this.sourceOnly}}
@dragEndAction = {{this.dragEndAction}}
@dragStartAction = {{this.dragStartAction}}
@determineForeignPositionAction = {{this.determineForeignPositionAction}}
class = {{this.childClass}}
>
{{yield item index}}
</DragSortItem>
{{/each}}