-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmy-dir.html
30 lines (27 loc) · 1.12 KB
/
my-dir.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
30
<div style="margin-left: 10px;">
<!-- style="overflow-y: scroll; max-height: 340px; height: 305px;" -->
<div class="lines"></div>
<button type="button" ng-click="addLine(true)"> Add </button>
<button type="button" ng-click="delLine($index)"> Remove </button>
<button type="button" ng-click="onSave()"> Save </button>
<button type="button" ng-click="retrieve()"> Get </button>
<div ui-on-Drop="onDropIn($event,$data, items)" >
<ul class="list" >
<li ng-repeat="item in items track by $index"
ui-draggable="true" drag="item"
on-drop-success="dropOutSuccessHandler($event, $index, items)">
<input type="checkbox" value="{{item.id}}"
ng-model="item.checked"
ng-true-value="true"
ng-false-value="false">
<input type="text" class="top-inputs"
ng-model="item.text"
ng-keydown="keyDownHandler($index, $event, items.length)"
ng-click="innerDisplayTick($index)"
ng-change="item.focus()"
ng-focus="item.isFocus">
</li>
</ul>
</div>
<div ng-transclude></div>
</div>