Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

better angular integration #2

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

regnete
Copy link

@regnete regnete commented Oct 16, 2013

Thank you for the angular-swipe implementation. While integrating it in a phonegap app if found several points worth an enhancement:

  • always execute a callback, even if none has been specified to force
    angular model sync
  • setup Swipe instance via $timeout to let nested directives finisch
    their dom manipulations before the instance is created. e.g. this allows
    usage of ng-repeat inside swiper

- always execute a callback, even if none has been specified to force
angular model sync
- setup Swipe instance via $timeout to let nested directives finisch
their dom manipulations before the instance is created. e.g. this allows
usage of ng-repeat inside swiper
@agido-hundt
Copy link

I tried this out, because i had problems using ng-repeats within the swipe. With this it (nearly) works, but it seems the repeat loop is performed twice and doubles the swipes' tabs. Any idea?

@agido-hundt
Copy link

Ahhh, that's current swipe behaviour if there are only 2 tabs present. https://github.com/bradbirdsall/Swipe/pull/330

So everything fine here. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants