Swipe to close modals

This commit is contained in:
Gustavo Maximiliano Cortez 2015-11-23 12:56:43 -03:00
commit 95bac39e99
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
3 changed files with 10 additions and 3 deletions

View file

@ -12,7 +12,9 @@
</section>
</nav>
<div class="modal-content fix-modals-touch">
<div class="modal-content fix-modals-touch"
ng-swipe-disable-mouse
ng-swipe-right="cancel()">
<div class="header-modal text-center">
<div class="size-42" ng-show="btx.action != 'invalid'">
<span ng-if="btx.action == 'received'">+</span><span ng-if="btx.action == 'sent'">-</span>{{btx.amountStr}}