1. #1
    Sencha User
    Join Date
    Oct 2012
    Posts
    6
    Answers
    1
    Vote Rating
    0
    bongo_bongo is on a distinguished road

      0  

    Default Unanswered: Change position of container on dragging

    Unanswered: Change position of container on dragging


    Hi,

    I have the following problem
    • Have one Main Card Panel with different panels in it.
    • In the main card panel i have a container with a twitter list in it which i positon at top=90%
    • I would like to be able to drag this container slightly and it will push up from bottom to top to show the twitter feed list
    What i have done so far:
    • Added the following in the draggable of my twitter feed container
    Code:
    { direction:'vertical',
                  constraint: {
                    min: { x: 0, y: 0 },
                    max: { x: 0, y: 338 }
                  },
                  listeners: {
                       
                        drag: function( draggable, evt, offsetX, offsetY, eOpts ) {
                             console.log( offsetX);
                           //  Ext.getCmp("twitterList").setTop(0);   //Does not Work
                            
                        }
                      
                  }
    }
    • When i drag the container i can see the value of offsetX in the javascript console.
    How can I achieve this?
    Any help is highly appreciated, thank you very much.

  2. #2
    Sencha User
    Join Date
    Oct 2012
    Posts
    6
    Answers
    1
    Vote Rating
    0
    bongo_bongo is on a distinguished road

      0  

    Default


    Is there really no-one that can help? Still struggling with this unfortunately.

    Thanks

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar