Added: 1 year ago
From: xiaoxiaobaby
Views: 1,949
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (5)

Sign In or Sign Up now to post a comment!
  • could you please post this on github ? I'm struggling to do something similar ..

  • If you want to fire a single "swipe" event, you can have a property that you check on each swipe call. On the initial call, alter this property and only reset it once all your animations or done (in the animation.oncomplete function).

  • Neatly done. Can you post a snippet of your code for the card scroll?

  • Hi there,

    Did you use a scrollableview ? Or are you using an array of cards and window's swipe event for horizontal scrolling?

    I'm trying to create that effect (show one card at the center and a "preview" of the next and/or previous cards at the right and left of the window - a little like webOS cards) but I think it cannot be done using scrollableviews.

    Thanks a lot!

    (sorry for the bad English & gramma)

  • @Lecavalier14 I'm not using a scrollableview because i wanted the edges of the adjacent cards to show up. you could use scrollableviews to achieve a similar effect, however you wouldn't see the next cards, nor would there be flipping.

    I'm using an array of views and doing the touch inputs manually.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more