When developing Directives, it's quite common to encounter the "element" object that's passed into function callbacks for events. This is actually AngularJS's wrapper object for the DOM element object. List of supported methods can be found here:
http://docs.angularjs.org/api/angular.element
No comments:
Post a Comment