Skip to content

Accessing prev/today/next functionality from my own navbar? #252

Answered by vkurko
hpaves asked this question in Q&A
Discussion options

You must be logged in to vote

To navigate the calendar programmatically, you should update the date option using setOption, i.e. calendar.setOption('date', newDate). Accordingly, to switch the view you need to use setOption('view', newViewName). And the current title value can be obtained from the View object using getView.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@hpaves
Comment options

Answer selected by hpaves
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