You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I read through the readme but I can't seem to find what I'm looking for - I need access to the simplebar instance (like when using simplebar in a normal project) when using simplebar as a nuxt 3 / vue 3 component, maybe someone can help me.
in a scrollbar.ts file in /plugins in a nuxt 3 project - this works, as I'm able to use the component as <simplebar></simplebar> and it is working.
But I'd need access to the simplebar instance to check if it's currently visible and to use some onscroll functionality etc. - but so far I haven't been able to find a solution to expose the instance to my project or the window object.
Can you point me in the right direction or help me?
Best regards,
Sebastian
The text was updated successfully, but these errors were encountered:
First of all - thanks for the simplebar!
I read through the readme but I can't seem to find what I'm looking for - I need access to the simplebar instance (like when using simplebar in a normal project) when using simplebar as a nuxt 3 / vue 3 component, maybe someone can help me.
I'm using simplebar-vue as follows:
in a scrollbar.ts file in /plugins in a nuxt 3 project - this works, as I'm able to use the component as
<simplebar></simplebar>
and it is working.But I'd need access to the simplebar instance to check if it's currently visible and to use some onscroll functionality etc. - but so far I haven't been able to find a solution to expose the instance to my project or the window object.
Can you point me in the right direction or help me?
Best regards,
Sebastian
The text was updated successfully, but these errors were encountered: