Developers: BBUI.JS Updated to v0.9.4
Developers will be pleased to know that RIM have just updated bbui.js to version 0.9.4
The focus in this release has really been around bug fixes, optimisations and additional JavaScript® interfaces. The previous versions of bbUI have been VERY declarative and haven’t allowed for much manipulation after the fact via JavaScript. This release takes a step in the right direction to allow you to create more dynamic user interfaces via JavaScript.
Notable Improvements
- Updated colouring/styling to better match Cascades™
- New Title Bar styling which now allows images in the Title Bar
- New BlackBerry® PlayBook™ tablet 2.x styling for Activity Indicators, Text Input, Image Lists and Buttons
- Many new JavaScript interfaces to manipulate controls on-the-fly
- Native scrolling speed increases
- Screen stack bug fixes
- Control bug fixes
Changes to your code
There were a few changes that were made that will affect your applications JavaScript .
- bb.init()
- bb10ActionBarDark renamed to actionBarDark
- bb10ControlsDark renamed to controlsDark
- bb10ListsDark renamed to listsDark
- bb10HighlightColor renamed to highlightColor
- You no longer specify a viewport meta tag in your main index.htm. This is now supplied by the toolkit at runtime based on the OS version.
- BlackBerry® 10 title bars now take on the control coloring.
- You no longer need to specify a unique id for your script tags used with screens.
- Scroll Panel JavaScript interfaces have been modified.
- If you were calling bb.scroller.refresh() you will want to change your code to “if (bb.scroller) bb.scroller.refresh();”
While there are some improvements in this department with v0.9.4, check out what’s planned for v0.9.5.
Did you enjoy this article? If so, we’d love to hear your thoughts on the Forums or on our Facebook page. Get more articles instantly on your BlackBerry smartphone with our Free BlackBerry 10 App.
























































