1. #1
    Sencha User
    Join Date
    Sep 2011
    Posts
    78
    Vote Rating
    1
    shweta.saxena09 is on a distinguished road

      0  

    Default Unanswered: Swipe panel like Facebook Native App

    Unanswered: Swipe panel like Facebook Native App


    Is that Possible... to swipe the panel like facebook iphone native app ?

    Well I tried but... Not get any success...
    Please help....

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,522
    Answers
    3447
    Vote Rating
    814
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Sure it's possible. You have a swipe event on the element.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Sep 2011
    Posts
    78
    Vote Rating
    1
    shweta.saxena09 is on a distinguished road

      0  

    Default


    I have used this swipe function... its working but not like facebook app.... I need swipe event like facebook.....

    Code:
    onView_UserScreenInitialize: function(component, options) {        component.element.on({
                swipe: {
                    fn:function(event, node, options, eOpts){
                        if(event.direction == 'right'){
                            console.log(event.direction);
                        }
                        if(event.direction == 'left'){
                            console.log(event.direction + "0");
                        }
                    },
                    scope:component
                }
            });
        }

  4. #4
    Sencha User
    Join Date
    Feb 2011
    Location
    Düsseldorf, Germany
    Posts
    567
    Answers
    34
    Vote Rating
    31
    Kurt001 has a spectacular aura about Kurt001 has a spectacular aura about

      0  

    Default


    Quote Originally Posted by shweta.saxena09 View Post
    I have used this swipe function... its working but not like facebook app.... I need swipe event like facebook.....
    Could you explain what's so special about that swiping behaviour. I do not want to install the facebook app to be able to help

Thread Participants: 2