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.