-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] making double arrows available in day view #501
Labels
Comments
This is a great idea. Please PR it to the next branch. I am here for any question. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello there,
This PR made a double arrow available in the month view, to navigate multiple years back/forward, with
showMultipleYearsNavigation
andmultipleYearsNavigateBy
parameters.What about being able to navigate by year in the day picker ?
The simple arrow would do "+/- 1 month", and double arrow would do "+/- 1 year".
It seems possible to reuse what has been done with
showMultipleYearsNavigation
, usingmultipleYearsNavigateBy = 1
. So all we would have to do, is add the code which is in the month picker to the day picker.To be closer to the month behavior,
multipleYearsNavigateBy
could define a number of month, instead of a number of year. So setting a value of "12" would do "+/- 1 year", but the parameter should then change its name...In the code, the button is called "Left/rightSecondaryButton", so the parameters could be
showSecondaryNavigation
, andsecondaryNavigationStep
?I would love to make a PR about this, if you could tell me which branch to base onto.
The text was updated successfully, but these errors were encountered: