Navigation

    Monaca & Onsen UI
    • Register
    • Login
    • Search
    • Tags
    • Users
    • Blog
    • Playground
    1. Home
    2. iceweasel
    3. Posts
    I
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by iceweasel

    • RE: ons-gesture-detector

      Thanks!

      posted in v1.x
      I
      iceweasel
    • RE: ons-navigator

      @munsterlander: Oh yeah! @@

      posted in v1.x
      I
      iceweasel
    • RE: ons-navigator

      @iceweasel said:

      @munsterlander:
      When I use myNavigator.resetToPage(‘myPage.html’, {animation: “slide” });
      Page just move “right” to “left”. I want to move “left” to “right”.
      And myNavigator.resetToPage(‘myPage.html’, {animation: “lift” });
      It just move “bottom” to “top”, but I want slide “top” to “bottom”
      :D
      Thanks.

      posted in v1.x
      I
      iceweasel
    • RE: ons-navigator

      @munsterlander:
      When I pushPage myNavigator.resetToPage(‘myPage.html’, {animation: “slide” });
      Page just move “right” to “left”. I want to move “left” to “right”.
      And myNavigator.resetToPage(‘myPage.html’, {animation: “lift” });
      It just move “bottom” to “top”, but I want slide “top” to "bottom"
      Thanks.

      posted in v1.x
      I
      iceweasel
    • RE: ons-navigator

      Hi, How to use resetToPage/pushPage animations slide left to right and/or top to bottom ?
      Thanks.

      posted in v1.x
      I
      iceweasel
    • RE: ons-gesture-detector

      Yes, seem like drag event detect finger immediately and fit with my app better than swipe. So, I try this one.
      $(document).on(‘dragend’, ‘#appNavi1’, function(e) {

      if(e.originalEvent.gesture.direction == "left"){
      	    app.navi.resetToPage("detail.html", {animation: 'slide', animationOptions: {duration: '0.2'} });
      } else if(e.originalEvent.gesture.direction == "right"){
          	app.navi.resetToPage("detail.html",  {animation: 'lift', animationOptions: {duration: '0.2'}});
      }
      

      });
      ons-carousel just for content already exist, I want to create dynamic content for each time swipe. How ons-carousel do it?
      Thanks !

      posted in v1.x
      I
      iceweasel
    • RE: ons-gesture-detector

      @iliasky: Thanks for reply that options, but on swipe event. How can I modifier “speed” and/or “distance” or something like “swipe-left-end”. Because, when I swipe must to be on the entire width of device, and with speed quite fast…
      Thanks.

      posted in v1.x
      I
      iceweasel
    • RE: ons-gesture-detector

      Hi, I use ons-gesture-detector to swipe left and right page but I it seem like delay 300ms or somthing else I’m not sure. But when swipe, page change for a while.
      ons-gesture-detector
      …Area to swipe.
      /ons-gesture-detector
      I’ve to try on Android and Iphone.

      posted in v1.x
      I
      iceweasel