John L
Member since Oct 22, 2014
- Profile: /members/12373-john-l.htm
- Comments: 3
Recent Blog Comments By John L
-
Using Track-By With ngRepeat In AngularJS 1.2
Posted on Nov 19, 2014 at 3:23 PM
Great post ... Aside from ng-repeat performance improvement -- which I guess is the main point here -- when not destroying and creating scopes, this allows our scopes to keep track of previous states and implement state machines via watches, which just isn't possible with vanilla ng-repeat.... read more »
-
Capturing Document-Click Events With AngularJS
Posted on Oct 22, 2014 at 9:05 AM
To observe clicking on iFrames I just register the same click handler into the iFrame contents: var iFrameChildren = $document.find( 'iframe' ).contents(); iFrameChildren.on ( 'click', clickEventHandler ); scope.$on ( '$destroy', function(... read more »
-
Capturing Document-Click Events With AngularJS
Posted on Oct 22, 2014 at 5:31 AM
This was very informative. Thanks for sharing. IFrames are also a specific case, as they don't bubble up click events into their containing document. Would be particularly useful to see a solution for this without using jQuery but just jqLite.... read more »