Skip to content

Instantly share code, notes, and snippets.

@kvofreelance
Created January 19, 2014 16:35
Show Gist options
  • Save kvofreelance/8507241 to your computer and use it in GitHub Desktop.
Save kvofreelance/8507241 to your computer and use it in GitHub Desktop.
<tr ng-repeat="item in ingridients" class="photo_table_ingridients_row" ng-swipe-left="swipeIngridients('{{item.guid}}')" ng-swipe-right="swipeBackIngridients('{{item.guid}}')">
<td ng-class="item.isSwiped ? 'container-swipe' : ''" >
<div ng-class="item.isSwiped ? 'ingridient-swipe-left-animation' : ''">
<div class="left-ingidients-td">{{item.name}}</div>
<div class="right-ingidients-td">
<div ng-show="item.effect" style="color: {{ingridientsColor[item.effect]}};">{{item.effect}}</div>
</div>
</div>
<div class="ingridient-delete-btn animate-show" ng-show="item.isSwiped" ng-click="deleteIngridients({{item.guid}})">Delete</div>
</td>
</tr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment