You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR made a double arrow available in the month view, to navigate multiple years back/forward, with showMultipleYearsNavigation and multipleYearsNavigateBy 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, using multipleYearsNavigateBy = 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, and secondaryNavigationStep ?
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:
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: