0.9.1
Pre-releaseLoading tabris.js as a Module
The tabris.js
file is now loaded as a regular npm module. This changes the way application declare the Tabris.js version to use. The package.json
should now contain a dependency to tabris.js
. By calling npm install
, the module is installed in the node_modules folder where it can be found by the Tabris.js client.
Assign custom IDs to Widgets
All widgets support a new property id
that can be set to a custom string. This property will be copied to the field id
. A new method find()
, that is available on all widgets, can be used to find widgets by id. This method accepts filter strings of the form #id
. The method children()
also accepts this kind of filter strings.
Support for widget IDs in layoutData
When layoutData
attributes refer to other widgets, a string of the form #id
can now be used instead of a widget reference. This reduces the need for keeping widget references in variables.
Widgets renamed
Some widgets have been renamed:
Label
has been renamed toTextView
, which fits in nicely withImageView
Text
has been renamed toTextInput
Combo
has been renamed toPicker
Cordova Integration
The developer console can be activated using the config.xml preferences now. To activate the console the boolean preference EnableDeveloperConsole
was introduced. The default value is false
.