bbUI.js version 0.9.4 has landed

Announcements

TITLE_IMAGE

After a bunch of hard work, bbUI version 0.9.4 is finally here. The focus in this release has really been around bug fixes, optimizations 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. While there are some improvements in this department with v0.9.4, we’re not finished yet and have much more planned for v0.9.5.

One of the best things I’ve seen lately is the number of people participating in the project. It’s absolutely fantastic to see members of the community grab items from the roadmap, implement them and send them back as pull requests. These pull requests are full on feature creation as well as bug fixes. A gigantic THANK YOU goes out to all those who are helping to improve bbUI!

Be sure to check out the full change log for this release to know what kind of adjustments you may need to make to your JavaScript in order to run v0.9.4, and check out the closed issues for details on bugs that have been fixed and features that have been added. The v0.9.4 JavaScript changes are fairly minor and are meant to make your life easier as we continue to move forward.

Notable Improvements

  • Updated coloring/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

I mentioned that there were a few changes that were made that will affect your applications JavaScript so let’s talk about those.

  • 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();”

More to Come

We’ve now created an additional v0.9.5 milestone for bbUI that contains additional BlackBerry 10 styling improvements, but also includes more JavaScript interfaces for dynamic screen creation and manipulation. If you’re interested in following the bbUI.js changes as they go, feel free to follow me on Twitter®.

About Tim N.

Tim leads Application Platform & Tools Product Management at Research In Motion. This includes APIs, Frameworks and Tools for the BlackBerry Platform. He can be found hanging out in the development forums or Twitter (@brcewane) trying to help out where he can and to bring your feedback into the next releases of BlackBerry tooling. You’ll also see Tim presenting various topics at the BlackBerry Developer Conferences and BlackBerry World so be sure to stop by and say hi. Just don’t start talking about cars or Batman or you won’t be able to get rid of him.

Join the conversation

Show comments Hide comments
+ -
blog comments powered by Disqus