Hi, just released version 1.2.0 of jquery-mobile-angular adapter. This works with angular 1.0.3 and jquery-mobile 1.2.0.
Thanks all who provided feedback on the snapshot version and submitted issues! Your are great!!
New features:
Support for angular routes for jqm pages including a default routing for backwards compatibility. E.g.
$routeProvider.when('/somePage', {
templateUrl:'someTemplate.html',
onActivate: 'someFn(someResolvedParam)',
jqmOptions: { transition: 'flip' }
});
See https://github.com/tigbro/jquery-mobile-angular-adapter#navigation-and-routes for details.
Extensions to $location
service to control browser history and route parameters for a single route call. This is independent of jquery mobile and could be used in other AngularJS applications as well! E.g.
$location.backMode()
: Just like $location.replace()
but goes back in browser history to $location.url()
.
$location.routeOverride({jqmOptions: {transition: 'slide'}})
: Overrides the next routing to use the given options.
See https://github.com/tigbro/jquery-mobile-angular-adapter#service-location-extensions
Major changes:
$navigate
service is no more. Please use $location
and the extensions provided by the adapter instead. See the Changlog.md for a migration guide.ngm-click
to ngm-vclick
and added all the other jqm event directives (like ngm-vmousedown
, …).Feedback welcome!
Tobias
--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.