Be notified of new releases
Create your free GitHub account today to subscribe to this repository for new releases and build software alongside 28 million developers.Sign up
The CanvasContext object now supports the methods
Web messaging API on WebView
This new API allows the Tabris.js application to communicate with the HTML document loaded inside a WebView via an HTML5 compatible API. String messages can be exchanged via the
postMessage method and
message event, which are available on the WebView itself and on the window object inside the WebView.
New property "selectedImage" on Tab widget
New property "focused" on TextInput
This property can be used to bring up the virtual keyboard by setting it to
true. The user can then immediately start typing.
New events on Drawer
The Drawer widget now has the events
close, which are fired after the opening/closing animation of the drawer completes.
Animation with promises
The widget method "animate" now returns a promise that is resolved when the animation completes, and rejected when the animation is aborted.
New lifecycle events
In addition to
resume there are now three new events on the
tabris.app object to react to changes in the app running state:
The W3C conform global object
crypto has been added. It can be used to generate cryptographically secure random numbers.
Full access to http headers via XMLHttpRequest
In a strictly W3C/browser conform implementation of XMLHttpRequest it is not allowed to access certain headers. Tabris.js no longer implements these restrictions. All headers can now be set and read, including previously "forbidden" headers like "Cookie".
Updated permission handling on Android
Cordova plugins can now receive permission request callbacks.
The Tabris.js playground
To make it easier for everyone to play with their code, we have now made a public Playground available without signing in. Go to tabrisjs.com/playground and scan the QR code with your device using the Tabris.js Developer App. You will see your code in action right away.