Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to detect if scrollbar is rendered? #28

Open
julia-utenkova opened this issue Jan 24, 2018 · 1 comment
Open

How to detect if scrollbar is rendered? #28

julia-utenkova opened this issue Jan 24, 2018 · 1 comment

Comments

@julia-utenkova
Copy link

Hi,

First of all great plugin and great work and many thanks for that!
But i encountered in small issue, I want to apply animation after scrollbar is rendered. Is there any way to detect if scrollbar is initialized and rendered within a Vue component?

Thanks!

@rowild
Copy link

rowild commented Aug 21, 2018

I am new to this - and your post is already very old -, but maybe you can use the ready params from the $ref?
if(this.$refs.Scollbar.ready === true) {}

Maybe you found another solution already. In that case it would be great if you could post your solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants