Enyo 2.0 UI widgets land, go fully cross-platform | webOS Nation

Enyo 2.0 UI widgets land, go fully cross-platform

by Derek Kessler Wed, 29 Feb 2012 5:12 pm EST


Squeaking in just under the February deadline (thank goodness for that extra day, eh?) is the promised release this month for the Enyo 2.0 user interface widgets. The release, as noted on the EnyoJS blog also brings the Enyo framework to beta 2 status, which comes with fuller cross platform support for "a wide range of desktop and mobile browsers, from IE 8 to iOS 5."

The UI widgets set takes after the already-established look of webOS 3.0, maintaining the three-dimensional rounded buttons and text fields aesthetic. The only easily discerned difference is in the slider grab handles, which have morphed from virtual slots to more subtle virtual grooves. The new/old look has been dubbed Onyx by the Enyo team - while it may look practically the same, the widgets were built from the ground-up for Enyo 2. This is just the initial release for Onyx, with additional updates to come in the months ahead. If you're wanting to try it out while you're waiting for developers to deploy Enyo 2.0-based apps, they've put together an Onyx Widget sampler that shows how it all looks in your browser (and that's using Enyo 2.0 code to boot).

The beta 2 release for Enyo 2 also includes a new layout library meant to help developers build flexible layouts to fit the available space of  the screen. Considering that Enyo 2.0 is meant to be deployed across multiple platforms and the web, flexibility will be a key component. With new FittableColumns and FittableRows controls, developers will be able to choose a section of their app to expand and contract to fill available space while the rest maintain their sizing. This is all done with minimal JavaScript and CSS styling limitations for developers - it's highly flexible while also seriously lightweight on the processing front.

Apart from layout and UI widgets, the Enyo 2 beta 2 release also includes improved event handling, unstyled base UI controls, and updates to improve performance for Enyo apps on iOS and Android. The Enyo 2.0b2 release is up on GitHub right now - go get it, developers!