04-10-2012 05:14 PM - edited 04-10-2012 05:14 PM
The real problem is, I want to enable swipe menu option to show small setting menu for the app. It's already implemented in enyo, just need to pass control from bb swipe event to enyo code.
Somebody worked on this issue ? Fell free to post any comment, suggestion etc
04-10-2012 10:58 PM
Have you had a chance to look over the swipemenu.js implementation on Github?
It highlights how to detect the navigation swipe and from there you can leverage as much as the actual menu design as you like or potentially stick with your enyo implementation.
BlackBerry Development Advisor
04-11-2012 05:53 AM
09-29-2012 01:50 PM
This is very helpful. It works with Enyo 2.0, too.
HOWEVER, I need to implement doButton in my index.html. What if I want to access a function within my .js that I load from the index.html. If my callback is a simple function, swipemenu.js looks for the callback function in my index.html, not within my Enyo kind. If I use this.$.doButton as the call back, the menu loads correctly, but does not trigger the function when a button is clicked.
What am I doing wrong?