Where did the "move" function in menus go? #4631
Replies: 1 comment
-
Posted at 2022-05-04 by @gfwilliams It's gone on Bangle.js 2 because there's no longer the idea of a 'selected' menu item that you can move. The list is scrollable (and I guess we could expose a scroll function) but nothing is actually selected until you tap on it Posted at 2022-05-04 by user113695 Thanks, that makes sense. I was looking for a way to programatically scroll a menu that has more items than fit on one screen. I guess there is no way to do this at them moment then? Posted at 2022-05-05 by @gfwilliams Not at the moment. Looking at the code, it would be possible to allow Posted at 2022-05-05 by user113695 Yes, a scroll argument would be helpful indeed. Posted at 2022-05-06 by @gfwilliams Just added for cutting edge builds Posted at 2022-05-06 by user113695 Excellent. You move fast, Gordon, thanks! |
Beta Was this translation helpful? Give feedback.
-
Posted at 2022-05-04 by user113695
I seem to remember that the object returned by E.showMenu offered a 'move' function. This is corroborated by the API documentation, yet in the latest firmware it seems to have gone missing. Is this an oversight or was it removed on purpose?
Beta Was this translation helpful? Give feedback.
All reactions