r/angularjs • • Feb 05 '16

Angular 1.5 released!

https://github.com/angular/angular.js/blob/master/CHANGELOG.md?=1.5
96 Upvotes

36 comments sorted by

View all comments

3

u/AskYous Feb 06 '16 edited Feb 06 '16

What? ngClick is depreciated? How do I execute functions when a user clicks a button?

Edit: Perhaps ngTouch.

2

u/buttonkop666 Feb 06 '16

The ngClick override in the touch lib which removes the 300ms delay on some mobile devices is deprecated. Normal ngClick is the same as ever.

1

u/markdesign Feb 06 '16

So what is the recommendation for removing the 300ms delay?

2

u/buttonkop666 Feb 06 '16

It's all in the breaking changes section of the changelog: https://github.com/angular/angular.js/blob/master/CHANGELOG.md?=1.5