wow, very nice ! thanks![]()
wow, very nice ! thanks![]()
wnielson,
looks like the solution to the drag event was much more simply than I thought. It can be so easy if one knows the details. Many thanks! btw: it looks like it also works with PR4 now.
Thanks for working on this! This is exactly what I needed. I'm having some trouble, however, with the tool bar buttons. I copied exactly what you have in your app.js (word for word) into my app.js, and although I am able to drag the toolbar back and forth, the toolbar button does not open the side panel. Any ideas?
Thanks again!
Well, it seems to be firing the toggle function correctly (I verified by adding some log statements). There are no errors at all, but the call to draggable.setOffset(offsetX, 0, duration) doesn't seem to be doing anything. I am very new to this, so I'm sure it is a dumb mistake on my part![]()
Lol whooops. It's working perfectly. Thanks!
Guys,
RC1 changed the setOffset method, which expects now x and y parameters instead of the offset object:
setOffset: function(x, y, animation) {
movecontainer shall look something like this then:
moveContainer: function (offsetX, duration) { draggable = this.container.draggableBehavior.draggable; draggable.setOffset(offsetX, 0, { duration: duration || this.config.slideDuration }); },
Great work!
That's the replacement to my NavigationView I was looking for.
It still doesn't work on Android 2.3 though. Has anyone managed to solve this problem?