espruino / BangleApps

Bangle.js App Loader (and Apps)
https://banglejs.com/apps
MIT License
498 stars 1.17k forks source link

Discussion: Proposals for new ways to interact with setUI #3452

Closed thyttan closed 4 months ago

thyttan commented 5 months ago

This is not meant to be merged - only for providing an example/proposal for changes to how we can interact with Bangle.setUI. This is an addition to the discussion at https://github.com/espruino/BangleApps/issues/3435.

The diff has comments explaining my thoughts.

gfwilliams commented 5 months ago

Thanks - extending to add the handlers looks good, but the whole extra thing seems like a bit of a mess. I think if you want to do something like that, it should really just be using custom and implementing its own behaviour