@stew_hering wrote:
Hello, In an app I am creating I currently have a list of cards built like this:
<div class="card" ng-repeat="item in tasks" id="task">
<div class="item item-divider item-assertive">
<div class="row">
<div class="col col-33 left-text"><b>{{time(item.time)}}</b></div>
<div class="col col-33 col-offset-33 right-text">{{float2int(item.duration/60)}}h {{item.duration%60}}m</div>
</div>
</div>
<div class="item item-text-wrap">
{{item.description}}
</div>
</div>Does anyone know how I would setup my code so that a right swipe/drag on a card will dismiss it. I do not have a problem eliminating the card from the array but I do not know the JS required to swipe them away.
Posts: 1
Participants: 1