Tabris.js 3.8 brings improved Worker support to build better mobile apps
We are happy to announce the immediate availability of Tabris.js 3.8.0. This release focuses on improvements to create better app architectures. From improved Worker support, more powerful functional components to better MVVM support and more: There is a lot to get exited about.
Improved worker support for Thread.js
In order to bring full Thread.js support to Tabris.js we have mitigated several Worker compatibility issues. You are now able to use Thread.js as a workhorse engine in your apps. Along the way we also improved logging support in Workers, allowing to show logs in the CLI console as well. If you had any compatibility issues with worker related third party libraries, now is a good time to check again.
More powerful functional components
data property available on all
Widgets will now emit a
dataChanged event. This allows to create functional components which can display mutated models instead of static data. It also works with any other object that emits change events, including any instance of
ObservableData (new in 3.8) or objects using the
Better MVVM support
Binding viewmodels via the
@bindAll decorator now supports value conversions. Combined with the new change event propagation allows bindings to nested properties, e.g.
person.address.street. Additionally, binding multiple
Widget properties to one ViewModel property is also supported. Finally, views can now also react to ViewModel events, for example, to trigger an animation.
New tabris.Input allows to react to global input events
input service object allows intercepting all pointer events on an app window level. This allows reacting to touch events independent of the targeted widget. The event supports
In Android, the new
fastScroll property enables the fast scroll thumb that can be dragged to scroll through a list of items quickly. The feature is enabled by default in iOS devices starting from version 13 and cannot be disabled.
Android specific enhancements
The Tabris build for Android is now based on Cordova 9.
Get Started with Tabris.js 3.8.0
Get the app
- Install the Tabris.js developer app on your device. Links below.
- Try out the bundled snippets in the app, or edit and run them via Tabris.js Playground.
- Install the 3.7 Tabris CLI on your machine:
npm install -g firstname.lastname@example.org
tabris initin an empty directory to create a simple example app.
npm startand load it in the developer app.
- Check out the Tabris.js 3.8.0 documentation.
Feedback is welcome!Want to join the discussion?
Feel free to contribute!