Skip to content

better angular integration#2

Open
regnete wants to merge 3 commits into
sayedabdelgleel:masterfrom
regnete:master
Open

better angular integration#2
regnete wants to merge 3 commits into
sayedabdelgleel:masterfrom
regnete:master

Conversation

@regnete
Copy link
Copy Markdown

@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
Copy Markdown

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
Copy Markdown

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