How to create custom version of `E.showScroller` ?

Posted on
  • I noticed that E.showScroller is using internally Bangle.setUI with mode: "custom" but if I try to do the same in my scroller I get error "Unknown UI mode".

    Is there some way to use this "custom" mode, or some other way to create custom scroller? Basically I want what E.showScroller does with the addition that select-callback receives touch x-coordinate in addition to id of selected item.

  • Does https://www.espruino.com/Bangle.js+Modif­ication help?

    I just added the mode: "custom" bit today so unless you're on the absolute latest cutting edge firmware you won't have it. You could always just look back in the git history to see what I had before which works fine and doesn't need that UI mode.

  • Thanks for quick response, I didn't realize this was such a new feature. It's working now with latest firmware.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

How to create custom version of `E.showScroller` ?

Posted by Avatar for malaire @malaire

Actions