Using side menu and swipe gestures in cards


Hi everyone,

I’m fairly new to Ionic an AngularJS which makes a few things a bit of cumbersome. I’d like to use a side menu and within the content use swipe gestures on a card element to update it’s content.
Here’s a basic example:

Is there any way to prevent any other gestures, such as the ones from side menu? drag-content=false doesn’t seem to work, or maybe I’m applying it to the wrong element?

Using slide-box and swipe gestures in card

drag-content="false" would be used on the ion-side-menu-content.

You could get something together real quick using


But you would most likely want to use a directive in this case.


thanks a lot for your reply. That worked indeed. Can you give me some hints how to use a directive in that case?