Replies: 1 comment
-
Check this code 👇 to understand how to implement your https://www.npmjs.com/package/@smooth-scrollbar-contrib/vue-test |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Here is my code :
Then I wrapped this component like this :
const homepageRef = document.querySelector('#homepageRef');
console.log("homepageRef", homepageRef)
if (this.filteredTemplates && homepageRef) {
Scrollbar.init(homepageRef, {damping: 0.5, renderByPixels: true, wheelEventTarget: (e) => console.log("e", e)});
}
Beta Was this translation helpful? Give feedback.
All reactions