Onsen UI v1.2.0 has arrived! Introducing new features.
Version 1.2.0 of Onsen UI, a framework for creating hybrid HTML5 apps with Cordova and PhoneGap, has been released. In this release new UI components like alert dialog
<ons-popover> and carousel
<ons-carousel> are included.
In this article new features and changes are introduced.
In order to display an alert dialog the
window.prompt() the following methods have been introduced:
In addition to the alert dialog we have created a regular dialog component. Inside the dialog components like
<ons-page> can be displayed. Modal dialogs often seen in tablet apps can be created easily.
To display a popover next to a specific element the
<ons-popover> component has been added. A popover can show details about an element and is also often used to display options or an action menu.
The much anticipated
<ons-carousel> component is now available. The carousel can be set to cover the whole screen or just a part of it. Also, it can be configured to scroll both vertically and horizontally.
Command line interface
Slightly unrelated, but in conjunction with the v1.2.0 release, the command line tool monaca command was released. Using this tool a Cordova project using one of several Onsen UI templates can be created easily from the command-line.
Please install it with npm and try it out:
npm install -g monaca
- The default CSS color scheme has been changed.
ons-screencomponent and other deprecated methods and properties have been removed.
- Components to detect software keyboard changes has been added in
- The included version AngularJS has been updated to v1.3.0.
- Several bug fixes.
Please refer to the CHANGELOG for a detailed look at all the additions and changes.
Even after this release Onsen UI development will continue and many interesting features are in the pipeline. Developers using Cordova and PhoneGap to develop HTML5 hybrid apps, please try out Onsen UI and see what you think. On the official Onsen UI site documentation and sample code is available.
Please report bugs on our GitHub issues page. Also please tell us if you have any ideas for new features.
Originally published at onsen.io on November 14, 2014.