Reputation: 14586
I have a div element with the overflow-x
style attribute set to `scroll .
I want to be able to set the scrollbar position by code. With jQuery I'd use the scrollRight()
function.
What'd be the best approach with angular ?
Upvotes: 0
Views: 936
Reputation: 1777
you should keep your JQ code for that and run it in the link function of your directive.
Upvotes: 1