In the context of learning how to write (non-trivial) apps for the Bangle.js 2, I've implemented a "ThemeSetter" which allows you to configure global theming in a more comfortable way than through the settings menu.
While it already uses the "layout" library, I still had to implement a lot myself, such as
text views with configurable alignment and "bold" text,
a few custom controls, and
generic event dispatching
The current state can already be found in my own app loader - but soon, hopefully, also in the official "app store". Source code is available as well.
After lunch, I'll start some "code golfing" in order to make the source more compact - e.g., by introducing a mechanism similar to the "class" attributes of HTML elements.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
In the context of learning how to write (non-trivial) apps for the Bangle.js 2, I've implemented a "ThemeSetter" which allows you to configure global theming in a more comfortable way than through the settings menu.
While it already uses the "layout" library, I still had to implement a lot myself, such as
The current state can already be found in my own app loader - but soon, hopefully, also in the official "app store". Source code is available as well.
After lunch, I'll start some "code golfing" in order to make the source more compact - e.g., by introducing a mechanism similar to the "class" attributes of HTML elements.
4 Attachments