Skip to content

Conversation

@chrisstornowski
Copy link

Added possibility to use:

import VueScrollTo from "vue-scrollto"; VueScrollTo.scrollTo(element.$el, {offset: -125, duration: 1}); 
@rigor789
Copy link
Owner

Hey @ChristianStornowski thanks for the PR!

I'm not a TS user (yet), but I wonder if these type definitions will account for the returned cancel function from this.$scrollTo and VueScrollTo.scrollTo?

@chrisstornowski
Copy link
Author

Sorry. I missed this cancel function. :-/
I added this function

@rigor789 rigor789 merged commit f6a6596 into rigor789:master Sep 17, 2019
@rigor789
Copy link
Owner

🎉 This PR is included in version 2.17.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2 participants