Tabris.js Widgets: StatusBar

The status bar is the area where notifications, status icons, battery charge icon, and device time are displayed. You can modify its looks from Tabris application using StatusBar singleton instance. Here is an example:

You can modify status bar background color to match your app color scheme, text color, or completely hide the StatusBar. We have prepared an example that allows you to test all the available options. Run the script below by scanning its QR code using the Tabris Developer App:

Also, on iOS, you can use the tap event that is fired when the user is touching the StatusBar. It allows you to retrieve the touch coordinates relating to the origin coordinates of the widget.

For more detailed information about the widget, use the StatusBar documentation page.