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
    St. Louis, MO
    Posts
    33,714
    Vote Rating
    438
    Answers
    3113
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    Sure it's possible. You have a swipe event on the element.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    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 almost 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
    246
    Vote Rating
    4
    Answers
    3
    Kurt001 is on a distinguished road

      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