Wednesday, August 14, 2013

AngularJS 1.2.0rc1 Now Supports Focus & Blur Events

A quick update on a previous post about focus and blur directives. The AngularJS team has released 1.2.0rc1, which among a host of great changes now supports focus and blur events natively.

The best thing is since I used the existing event code from the AngularJS source code as a template for these directives there is no need to change any code that utilized these methods! You will see another example of this in a post that I am editing that was scheduled to be posted later today.

Here is the updated example from my previous post with the only modification being the switch to use the native focus and blur directives in 1.2.0rc1.







Once again using the source code as a guide and a reference has proven to be both enlightening and also a savior since I won't have to make any extensive edits to switch to the native event support in the new release.

No comments:

Post a Comment