onsenui v2.0.0-beta Release Notes
-
- core: Added more customizable animations.
- core: [BC Break] Changed interfaces for registering custom animators on
ons-navigator
,ons-dialog
,ons-alert-dialog
,ons-dialog
,ons-sliding-menu
,ons-popover
andons-tabbar
. - core: Removed unneeded iScroll library.
- ons-scroller: [BC Break] Removed undocumented attributes and simplified DOM structure in ons-scroller elements.
- ons-button: [BC Break] Removed animation feature and related attributes.
- ons-modal: Added animations and animation options.
- ons-alert-dialog: Added
submitOnEnter
parameter forons.notification.prompt()
. - ons-list-item: Added
tight
modifier. - ons-if-platform: Supports multiple space separated values.
- ons-pull-hook: Added
getPullDistance
,getHeight
,getThresholdHeight
methods. - ons-pull-hook: Added
fixed-content
attribute. - ons.platform: Added
select
method to force a rendering platform. - ons-sliding-menu: Now supports
ngController
directive. - ons-split-view: Now support
ngController
directive. - ons-tabbar: Added
'slide'
animation. - ons: Added
disableAnimations
andenableAnimations
to control animations display. - ons-loading-placeholder: Added
ons.resolveLoadingPlaceholder()
to delay resolving the placeholder. - ons-page: [BC Break] Removed undocumented several methods on
ons-page
component. - css-components: Stylus components don't rely on custom functions anymore.
- ons-navigator: Added
options.refresh
parameter forpopPage()
. - ons-carousel: Carousel will now apply the specified padding to the items.
- ons-icon: Fixed #687.
- ons-icon: Fixed #688.
- ons-page: Added page life cycle events.
- ons-list-item: Added
lock-on-drag
attribute to prevent vertical scrolling when user pans left or right. - ons-modal: Added
isShown()
method. - ons-navigator: Fixed
insertPage()
behaviour with high or low indexes. - ons-tabbar: Fixed callback in
setActiveTab()
method. - ons-tabbar: persistent tabs only throw 'init' event once.
- core: every child element will be wrapped inside an ons-page.
- ons-page: added page lifecycle events API
- ons-splitter: Added
ons-splitter
,ons-splitter-side
,ons-splitter-content
andons-splitter-mask
custom elements. - ons-fab: Implemented 'fab' component.
- core: Added page attribute expressions.
- ons.notification: Added
defaultValue
,placeholder
andautofocus
options to prompt. - ons-sliding-menu: Fixed #879
- ons-navigator: Added
bringPageTop()
method. - ons-carousel: Added
getCarouselItemCount()
method. - core: Add
ons-scope
Angular directive to allow not binding component to$rootScope
. - ons-lazy-repeat: Add
reload()
method to delegate object to enable manual reloading. - ons-lazy-repeat: Fix layout of list when it's not placed on top of page.
- ons-speed-dial: Implemented
<ons-speed-dial>
component. - ons-alert-dialog: Added "material" modifier.
- ons-button: Added "material" modifier.
- ons-dialog: Added "material" modifier.
- ons-icon: Added "md-" prefix and support for material icon font.
- ons-material-input: Added material input component with floating label.
- ons-progress: Added Material progress bar and circular loader.
- ons-ripple: Added Material Design ripple effect component.
- ons-switch: Added "material" modifier.
- ons-toolbar-button: Added "material" modifier.
- ons-toolbar: Added "material" modifier.
- ons-back-button: Change style when parent toolbar has modifier "material".
- ons-list: Added "material" modifier.
- ons-tabbar: Fixed #929
- ons-splitter: Fixed #952.
- core: Add support for Browserify.
- ons.platform: uses cordova-plugin-device if installed.
- ons-back-button: automatically hides if navigator has only 1 page.