[Fixed Position] Initially implement handles

Initially implement handles for resizing elements in a fixed
position view, WTD-882.
This commit is contained in:
Victor Woeltjen
2015-02-24 11:00:36 -08:00
parent abad8df135
commit 5e3d5fd00f
5 changed files with 172 additions and 7 deletions

View File

@@ -24,13 +24,15 @@
<!-- Selection highlight, handles -->
<span ng-if="controller.selected()">
<div class="test"
style="position: absolute;"
mct-drag-down="controller.startDrag(controller.selected())"
mct-drag="controller.continueDrag(delta)"
mct-drag-up="controller.endDrag()"
ng-style="controller.selected().style">
</div>
<div ng-repeat="handle in controller.handles()"
ng-style="handle.style"
style="position: absolute;"
ng-style="handle.style()"
mct-drag-down="handle.startDrag()"
mct-drag="handle.continueDrag(delta)"
mct-drag-up="handle.endDrag()">