Skip to content
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

Expose methods to go to previous month and next month to developer #213

Closed
MarcelR1998 opened this issue Nov 30, 2023 · 1 comment
Closed
Labels
enhancement New feature or request

Comments

@MarcelR1998
Copy link
Contributor

Is your feature request related to a problem? Please describe.
I'm building a custom header to control the calendar and would like to access the built-in methods to switch to the previous/next period from custom elements.

Describe the solution you'd like
Adding a ref on date picker element and a method to that in turn exposes the goToPeriod method to the top level

@tomosterlund tomosterlund added the enhancement New feature or request label Nov 30, 2023
@tomosterlund
Copy link
Owner

Accepted and merged with: #212

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants