JQuery Mobile Angular Adapter 1.2.0 is out (for jqm 1.2.0 and angular 1.0.3)!

761 views
Skip to first unread message

Tobias Bosch

unread,
Dec 21, 2012, 4:00:35 PM12/21/12
to ang...@googlegroups.com

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.
  • The url to start an app at a specific page (i.e. not the first page) changed. This is now in the hash bang format.
  • Changed ngm-click to ngm-vclick and added all the other jqm event directives (like ngm-vmousedown, …).

Feedback welcome!

Tobias

Martin Kuhn

unread,
Feb 22, 2013, 7:43:34 AM2/22/13
to ang...@googlegroups.com
Hi Tobias,

I want to try out "JQuery Mobile Angular Adapter " 
Because of jquery mobile 1.3.0 is out: is it possible to use it already with adapter version 1.2.0??

TIA

Martin

Tobias Bosch

unread,
Feb 22, 2013, 8:58:45 AM2/22/13
to ang...@googlegroups.com
Hello Martin,
I would not recommend it yes. However, if you try, please have a look at the issues tagged with jqm1.3 in GitHub. And if you find new ones, it would be great if you could report them.

Thanks!
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.
 
 

Reply all
Reply to author
Forward
0 new messages