Skip to content
Discussion options

You must be logged in to vote

Hi @bryansamuel1 thanks for the feedback.
It's actually possible to use scrollToTime() any time you want, you can use a template ref to access the view, like the following:

<vue-cal ref="vuecalRef">
const vuecalRef = ref(null)

...

vuecalRef.value.view.scrollToTime() // When you need even from a method called on `@view-change`.

Let me know if that worked!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by antoniandre
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants