bb10

Lightweight BB10 UI Library

BB10

This is a lightweight UI library for the Blackberry 10 platform. Look and feel is pretty much in line with the bbUI.js library, but doesn't cater for backward compatibility with Blackberry devices.

At this stage, the UI elements that have been implemented are fairly minimal, as these have been implemented on an 'as-needs' basis for sidelab projects.

var ActionBar = require('bb10/actionbar');
 
// create a new actionbar 
var bar = new ActionBar();
 
// add actions 
bar.addAction({ caption: 'Test', overflow: true });
 
// add to the dom 
document.body.appendChild(bar.el);