-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
I've been playing around with Your directive and I found it really nice.
I had no problem with getting it up and running, but after removing jQuery from my project Your directive stopped working.
One thing I was able to fix was able to fix was element selection.
Instead:
var $element = $(scrollContainer);
I'm using:
var $element = angular.element(document.querySelector(scrollContainer));
but problem remains with:
$element.animate({ scrollTop: scrollPos }, scrollSpeed);
I've found angular-only way to animate, but I'm not angular expert so it's hard for me to combine both.
Thanks for help.
Metadata
Metadata
Assignees
Labels
No labels