File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -5904,8 +5904,11 @@ On Bangle.js there are a few additions over the standard `graphical_menu`:
59045904 menu is removed
59055905 * (Bangle.js 2) `scroll : int` - an integer specifying how much the initial
59065906 menu should be scrolled by
5907- * `onchange : function(value, touch) {}` - on Bangle.js 2 this function can
5908- consider ~how~ the entry was touched. See `E.showScroller` for more info.
5907+ * (Bangle.js 2) The mapped functions can consider the current state of the
5908+ internal scroller and the touch event that interacted with the entry:
5909+ `"Entry" : function(scroller, touch) { ... }`
5910+ * This is also true of `onchange` mapped functions in entry objects:
5911+ `onchange : (value, scroller, touch) => { ... }`
59095912* The object returned by `E.showMenu` contains:
59105913 * (Bangle.js 2) `scroller` - the object returned by `E.showScroller` -
59115914 `scroller.scroll` returns the amount the menu is currently scrolled by
You can’t perform that action at this time.
0 commit comments