0

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 ?

1 Answer 1

1

you should keep your JQ code for that and run it in the link function of your directive.

Sign up to request clarification or add additional context in comments.

1 Comment

it sounds like the most sensitive thing to do :) thanks*

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.