material icon indicating copy to clipboard operation
material copied to clipboard

mdContent scroll event?

Open boogie1989 opened this issue 10 years ago • 2 comments

How can i add scroll event to mdContent directive?

boogie1989 avatar Nov 09 '16 17:11 boogie1989

This is not a forum for support, but to report issues with angular material. But to answer your question:

Assuming you will use a directive...

angular.element(element).bind('scroll', function(e) {

    scope.apply(function() {
         //digest
    });
});

remarshy avatar Nov 09 '16 18:11 remarshy

There is a google group for these kinds questions here: https://groups.google.com/forum/#!forum/ngmaterial

mckenzielong avatar Nov 09 '16 18:11 mckenzielong