-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.html
29 lines (24 loc) · 910 Bytes
/
main.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<div>
<h2>Moving elements to containers</h2>
<h5>Drag and drop elements from the left to the right</h5>
<div class="col-1-3">
<h4>Container 1</h4>
<div ng-repeat="item in $ctrl.container1.list">
<div bf-draggable="item" class="draggable-item">{{item.name}}</div>
</div>
</div>
<div class="col-1-3" bf-drop-container="$ctrl.container2">
<h4>Container 2</h4>
<div ng-repeat="item in $ctrl.container2.list">
<div bf-draggable="item" class="draggable-item">{{item.name}}</div>
</div>
</div>
<div class="col-1-3" bf-drop-container="$ctrl.container3" id="container-3">
<h4>Container 3</h4>
<div ng-repeat="ph in $ctrl.placeholders">
<bf-drop-placeholder bf-drop-container-id="container-3" bf-drop-model="ph" class="placeholder">
<h4>Drop Here ({{$parent.placeholder.model.pos}})</h4>
</bf-drop-placeholder>
</div>
</div>
</div>