It’s now two days I’ve been trying to incorporate the swipe-cards demo into, for example, ionic-starter-sidemenu, but with no success. According to the README of the swipe-cards demo, using it should be straightforward but I am not able to swipe the cards within a template such as browse.html in sidemenu (and not in the index.html as in the demo).
PLZ, could anyone try it out? I am probably doing some very trivial error and should be a matter of two seconds.
Since I have basically extended the ionic-starter-sidemenu project, it seemed to me easier to push on github (here) the whole project. The swipe-cards directive is called in browse.html, but with no effects.
Sorry to dig this thread up, but I have a supplementary questions…
I have a view with left and right side menus, this thread just helped me turn off the dragging on content so the menus don’t open/close if I’m doing swipe on the content, what I want to know is:
Is it possible to turn off drag on the content only, not the header?
I also have a view with a left menu and a list with hidden item options, so my second question is:
Is it possible to turn off drag programmatically if a list item has been dragged to the left to reveal options, and the turn it back on once a list item is closed, that way you don’t get the “list item closes and left menu opens” problem.