For anyone who is interested:
I've just written a few "controls" for the still extremely useful "layout" library which extend the functionality of the built-in layout types and benefit from additionally implemented "concepts" such as
For the next few days, I plan to implement (selectable and scrollable) "lists" and - if possible - to bundle everything into a module for the Bangle.js 2
As usual, you'll find the current state on GitHub
Thanks! That looks really interesting! For scrolling lists, is that something we might be able to fit into the existing Layout library?
Well, I know that the Bangle.js 2 has plenty of memory and performance (I did not yet reach its limits).
However, it might be wise to keep modules small in order to let programmers fine tune their imports (I don't expect any "tree shaking" from your Web IDE, am I right?).
My idea is to have a "LayoutEx" module for my components (or even separate modules for each individual control) which "sits" on top of the layout library. This reduces the memory foot print for programmers that do not need my components (or not all of them)
Yes, it's a good point... If it can be done efficiently as an additional library then great!
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem