Repository navigation
Replies: 1 comment
|
Check this code 👇 to understand how to implement your https://www.npmjs.com/package/@smooth-scrollbar-contrib/vue-test |
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)});
}
All reactions